after
fun <V, F> CellularConfigScope<V, F>.after(afterEvolution: suspend CellularEvolveScope<V, F>.() -> Unit)
Callback after evolution process which will be invoked when GA.state is going to be State.FINISHED.
Example:
// init CellularGA
cGA(
    // configure population and fitnessFunction
) {
    // set ga's configuration here
    after { (this = CellularEvolveScope)
        println("GA is going to be FINISHED")
    }
}Content copied to clipboard