geneticengine.algorithms.random_search
Classes
Randomly generates new solutions and keeps the best one. |
Module Contents
- class geneticengine.algorithms.random_search.RandomSearch(problem, budget, representation, random=None, tracker=None)
Bases:
geneticengine.algorithms.heuristics.HeuristicSearchRandomly generates new solutions and keeps the best one.
- Parameters:
problem (geneticengine.problems.Problem)
representation (geneticengine.representations.api.Representation)
tracker (geneticengine.evaluation.tracker.ProgressTracker | None)
- perform_search()
- Return type:
list[geneticengine.solutions.individual.Individual] | None