stopBy

inline fun <V, F> EvolveScope<V, F>.stopBy(maxIteration: Int = Int.MAX_VALUE)

Stop and finish GA if iteration more or equal to maxIteration.


inline fun <V, F> EvolveScope<V, F>.stopBy(stopCondition: EvolveScope<V, F>.() -> Boolean)

Stop and finish GA if stopCondition return true.


inline fun <V, F> EvolveScope<V, F>.stopBy(maxIteration: Int = Int.MAX_VALUE, stopCondition: EvolveScope<V, F>.() -> Boolean)

Stop and finish GA if: