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 (int)
Evaluation Budget
- class geneticengine.evaluation.budget.EvaluationBudget(evaluations)
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
evaluations (int)
Target Fitness
For single-objective:
- class geneticengine.evaluation.budget.TargetFitness(value)
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
value (float)
For multi-objective:
- class geneticengine.evaluation.budget.TargetMultiFitness(targets)
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
targets (list[float])
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)