Skip to main content

Module termination

Module termination 

Source
Expand description

Termination criteria

This module provides various termination criteria for evolutionary algorithms.

Modules§

prelude

Structs§

AllOf
Combine criteria with AND logic (all must trigger for termination)
AnyOf
Combine criteria with OR logic (any one triggers termination)
DiversityThreshold
Terminate when population diversity drops below threshold
EvolutionState
Evolution state for termination checking
FitnessStagnation
Terminate when fitness improvement stagnates
MaxEvaluations
Terminate after a maximum number of fitness evaluations
MaxGenerations
Terminate after a maximum number of generations
TargetFitness
Terminate when target fitness is reached

Traits§

TerminationCriterion
Termination criterion trait