FromGPSTrace

Distributes nodes in the first positions of GPSTrace.

Constructors

Link copied to clipboard
constructor(nodeCount: Int, path: String, cycle: Boolean, normalizer: String, args: Array<Any>)

Functions

Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
Link copied to clipboard
open fun iterator(): Iterator<P>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
fun <R> Iterable<R>.randomElement(randomGenerator: RandomGenerator): R

Returns a random element of the Iterable using the provided randomGenerator.

Link copied to clipboard
fun <R> Iterable<R>.shuffled(randomGenerator: RandomGenerator): Iterable<R>

Fisher–Yates shuffle algorithm using a RandomGenerator. More information on Wikipedia.

Link copied to clipboard
Link copied to clipboard