Stopping Criteria
Search algorithms can be defined with different budgets (subclasses of geneticengine.evaluation.budget.SearchBudget
)
Time Budget
- class geneticengine.evaluation.budget.TimeBudget(time)
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
time (float)
Evaluation Budget
- class geneticengine.evaluation.budget.EvaluationBudget(evaluations)
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
evaluations (int)
Budget Combinators
AnyOf
Terminates when either of the two criteria is true.
- class geneticengine.evaluation.budget.AnyOf(a, b)
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
a (SearchBudget)
b (SearchBudget)