Package-level declarations

Functions

Link copied to clipboard
suspend fun <V, F> PanmicticEvolveScope<V, F>.adjustSize(step: Int, evaluateBuffered: Boolean = true, parallelismLimit: Int = parallelismConfig.workersCount, fitnessFunction: (V) -> F = this.fitnessFunction)
Link copied to clipboard
suspend fun <V, F> PanmicticEvolveScope<V, F>.evaluation(parallelismLimit: Int = parallelismConfig.workersCount, evaluateElite: Boolean = false, sortAfter: Boolean = false, fitnessFunction: (V) -> F = this.fitnessFunction)

Performs a fitness calculation step for chromosomes in the population.

Link copied to clipboard

If Population is not initialized - Fills a Population with randomly generated Chromosomes by Population.factory.

Link copied to clipboard
suspend fun <V, F> PanmicticEvolveScope<V, F>.resize(newSize: Int? = null, newBuffer: Int? = null, evaluateBuffered: Boolean = true, parallelismLimit: Int = parallelismConfig.workersCount, fitnessFunction: (V) -> F = this.fitnessFunction)