Package-level declarations

Functions

Link copied to clipboard
fun <V, F> CellEvolveScope<V, F>.selBest(count: Int, fillWithSelected: Boolean = false)

Executes best selection step for CellEvolveScope.neighbors.

Link copied to clipboard
inline fun <V, F> CellEvolveScope<V, F>.selection(selection: (source: Array<Chromosome<V, F>>) -> Chromosome<V, F>)

Performs a selection step for population in CellularGA. Selects one partner from neighbors determined by the CellularNeighborhood with selection function. Selected partner will be moved to the first position of CellEvolveScope.neighbors (index = 0).

Link copied to clipboard

Executes random selection step for CellEvolveScope.neighbors.

Link copied to clipboard
@JvmName(name = "selRouletteFitByte")
fun <V> CellEvolveScope<V, Byte>.selRoulette()
@JvmName(name = "selRouletteFitDouble")
fun <V> CellEvolveScope<V, Double>.selRoulette()
@JvmName(name = "selRouletteFitFloat")
fun <V> CellEvolveScope<V, Float>.selRoulette()
@JvmName(name = "selRouletteFitInt")
fun <V> CellEvolveScope<V, Int>.selRoulette()
@JvmName(name = "selRouletteFitLong")
fun <V> CellEvolveScope<V, Long>.selRoulette()
@JvmName(name = "selRouletteFitShort")
fun <V> CellEvolveScope<V, Short>.selRoulette()

Executes roulette selection step for CellEvolveScope.neighbors:

Link copied to clipboard

Executes tournament selection step for CellEvolveScope.neighbors:

Link copied to clipboard
fun <V, F> CellEvolveScope<V, F>.selWorst(count: Int, fillWithSelected: Boolean = false)

Executes best selection step for CellEvolveScope.neighbors.