PanmicticConfig

Describes the configuration parameters necessary for the operation of the PanmicticGA.

See also

Inheritors

Properties

Link copied to clipboard
abstract val afterEvolution: suspend PanmicticEvolveScope<V, F>.() -> Unit

Callback after evolution process. Executed at launch when GA.state is going to be State.FINISHED.

Link copied to clipboard
abstract val beforeEvolution: suspend PanmicticEvolveScope<V, F>.() -> Unit

Callback before evolution process. Executed only once at launch if GA.iteration is 0.

Link copied to clipboard
abstract val elitism: Int

Number of elite chromosomes - the best chromosomes of the population, which have privileged rights:

Link copied to clipboard
abstract val evolution: suspend PanmicticEvolveScope<V, F>.() -> Unit

Main evolution process.

Link copied to clipboard
abstract val fitnessFunction: (V) -> F

Fitness function - A function that evaluates the quality or "fitness" of each individual (chromosome) in a population. The fitness function determines how well a particular solution matches the target problem.

Link copied to clipboard

Parallelism configuration associated with GA.

Link copied to clipboard
abstract override val population: PanmicticPopulation<V, F>

Override base population as PanmicticPopulation for PanmicticGA.

Link copied to clipboard
abstract var random: Random

Random associated with GA. Defines a pseudorandom number generator for predictive calculations.

Link copied to clipboard

Statistics configuration associated with GA.

Link copied to clipboard
abstract val timeStore: TimeStore

Store for all TimeMarkers of GA.