after

fun <V, F> PanmicticConfigScope<V, F>.after(afterEvolution: suspend PanmicticEvolveScope<V, F>.() -> Unit)

Callback after evolution process which will be invoked when GA.state is going to be State.FINISHED.

Example:

// init PanmicticGA
pGA(
// configure population and fitnessFunction
) {
// set ga's configuration here

after { (this = PanmicticEvolveScope)
println("GA is going to be FINISHED")
}
}