executeCellEvolution

inline fun <V, F> CellularEvolveScope<V, F>.executeCellEvolution(random: Random, index: Int, target: Array<Chromosome<V, F>>, crossinline cellEvolution: (chromosome: Chromosome<V, F>, neighbors: Array<Chromosome<V, F>>, random: Random) -> Chromosome<V, F>)

Executes cellEvolution for cell in CellularEvolveScope.population with index and set result to target.

Parameters

random

random for safe cellEvolution execution

target

target population where the result of cellEvolution is placed

See also