The type of genome objects in the population.
ReadonlybestCurrent best genome in the population.
ReadonlycachePhenome cache.
ReadonlygenerationCurrent generation number.
ReadonlypartitionsPartition sizes of the population.
The first element is the size of the elite population, the second element is the size of the crossover population, and the third element is the size of the mutation population.
Current population.
Clears the cache.
Runs the genetic search algorithm.
The configuration.
Runs a single step of the genetic search algorithm.
You need to call clearCache() after calling this method.
Optionalscheduler: SchedulerInterface<TGenome>The scheduler.
The fitness of the best genome in the population.
Gets the population summary.
OptionalroundPrecision: numberThe precision to round the summary to.
The population summary.
Refreshes the population.
Sets the current population.
new population.
Whether to reset the ID generator.
A genetic search algorithm interface.