The type of genome objects in the population.
OptionalafterStep?: GenerationAfterCallbackA callback function that is called after each generation.
OptionalbeforeStep?: GenerationBeforeCallbackA callback function that is called before each generation.
OptionalgenerationsCount?: numberThe number of generations to run the algorithm for.
Defaults to Infinity.
Optionalscheduler?: SchedulerInterface<TGenome>The scheduler to use to schedule the algorithm.
OptionalstopCondition?: (scores: GenerationFitnessColumn) => booleanA callback function that is called after each generation and can cause the algorithm to stop.
The configuration for running a genetic search algorithm.
Used in GeneticSearchInterface.