shuffled
fun <R> Iterable<R>.shuffled(randomGenerator: RandomGenerator): Iterable<R>
Content copied to clipboard
Fisher–Yates shuffle algorithm using Apache random number generator. More information on Wikipedia.
Parameters
randomGenerator
the simulation {@link RandomGenerator}.
Content copied to clipboard