pub type StopReason = String;
Expand description

A StopReason should explain to the user of the simulation why the simulation has been stopped. Examples:

  • “Simulation stopped after the maximum of 100 generations have been processed”
  • “Simulation stopped after a solution with a fitness value of 81 has been found which is above the target fitness of 80.