longs
fun <F : Comparable<F>> longs(size: Int, from: Long? = null, until: Long? = null): PopulationFactory<LongArray, F>
Creates PopulationFactory for ChromosomeLongArray with size.
Parameters
from
lower bound for the generator (inclusive)
until
upper limit for generator (exclusive)
fun <F : Comparable<F>> Random.longs(size: Int, from: Long? = null, until: Long? = null): ChromosomeLongArray<F>
Create ChromosomeLongArray instance.
Parameters
size
gene count
from
lower bound for the generator (inclusive)
until
upper limit for generator (exclusive)