Expand description
§Fitness Evaluators
This module provides fitness evaluation strategies for genetic algorithms, offering both individual and batch evaluation approaches. Evaluators are responsible for computing fitness scores for individuals in the population using the provided problem.
The module provides two main evaluation strategies:
- FitnessEvaluator: Evaluates individuals one at a time
- BatchFitnessEvaluator: Evaluates individuals in batches for better performance
Both evaluators support parallel execution through the executor system and integrate seamlessly with the ecosystem and problem abstractions.
Structs§
- Batch
Fitness Evaluator - A fitness evaluator that evaluates individuals in batches for improved performance or for when you need access to parts or the whole of an unevaluated population in order to compute fitness.
- Fitness
Evaluator - A fitness evaluator that evaluates individuals one at a time.
Traits§
- Evaluator
- A trait for evaluating fitness of individuals in a genetic algorithm ecosystem.