geneticengine.algorithms.random_search
Module Contents
Classes
Randomly generates new solutions and keeps the best one. |
- class geneticengine.algorithms.random_search.RandomSearch(problem, budget, representation, random=None, recorder=None)
Bases:
geneticengine.algorithms.heuristics.HeuristicSearchRandomly generates new solutions and keeps the best one.
- Parameters:
problem (geneticengine.problems.Problem) –
budget (geneticengine.evaluation.budget.SearchBudget) –
representation (geneticengine.representations.api.Representation) –
random (geneticengine.random.sources.RandomSource) –
recorder (geneticengine.evaluation.tracker.ProgressTracker | None) –
- search()
- Return type: