ints

fun <F : Comparable<F>> ints(size: Int, from: Int? = null, until: Int? = null): PopulationFactory<IntArray, F>

Creates PopulationFactory for ChromosomeIntArray with size.

Parameters

from

lower bound for the generator (inclusive)

until

upper limit for generator (exclusive)


fun <F : Comparable<F>> Random.ints(size: Int, from: Int? = null, until: Int? = null): ChromosomeIntArray<F>

Create ChromosomeIntArray instance.

Parameters

size

gene count