restart

suspend fun <V, F> PanmicticGA<V, F>.restart(populationSize: Int, populationBuffer: Int, forceStop: Boolean = false, resetPopulation: Boolean = true)

Immediately restart genetic algorithm.

Parameters

populationSize

new size of restarted population

populationBuffer

new buffer of restarted population

forceStop
resetPopulation

if true all progress will be lost.