Module genevo::termination::limit
source · [−]Expand description
The limiter
package provides Termination
functions that stop the
simulation when a certain limit is reached.
Provided limiters are:
FitnessLimit
- stops the simulation after a solution with a certain fitness has been found.IterationLimit
- stops the simulation after a maximum number of iterations has been processed.TimeLimit
- stops the simulation after a the specified time limit has been reached.
Structs
The FitnessLimit
condition stops the simulation after a solution with
a certain fitness has been found.
The GenerationLimit
condition stops the simulation after a maximum
number of generations has been processed.
The TimeLimit
condition stops the simulation after the specified time
limit has been reached, i.e. the simulation is already running for the
specified amount of time.