Skip to main content

Module termination

Module termination 

Source
Expand description

Termination conditions for the algorithm.

Defines the TerminationCondition trait and provides MaxGenerations, which stops the algorithm after a set number of generations.

Structs§

MaxGenerations
Terminates the algorithm once the generation count reaches the given limit.

Traits§

TerminationCondition
Determines when the algorithm should stop running.