Reactive and Learning Search Algorithm