before

fun <V, F> DistributedConfigScope<V, F>.before(beforeEvolution: suspend DistributedEvolveScope<V, F>.() -> Unit)

Callback before evolution process which will be invoked if GA.iteration is 0.

Example:

// init DistributedGA
dGA(
// configure common factory, fitnessFunction, population name and children (if already exist)
) {
// set ga's configuration here (adding children)

before { (this = DistributedEvolveScope)
println("GA STARTED, initial iteration is $iteration")
}
}