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.HeuristicSearch
Randomly generates new solutions and keeps the best one.
- Parameters:
problem (geneticengine.problems.Problem)
representation (geneticengine.representations.api.Representation)
recorder (geneticengine.evaluation.tracker.ProgressTracker | None)
- search()
- Return type: