Added adaptive_random_search.