AISTraceLoader

class AISTraceLoader(path: String, normalizer: String, normalizerArgs: Any?) : Iterable<AISTrace>

Loads AIS payload streams and applies the same time alignment used by GPS traces.

Constructors

Link copied to clipboard
constructor(path: String, normalizer: String, vararg normalizerArgs: Any?)

Functions

Link copied to clipboard
open operator override fun iterator(): Iterator<AISTrace>
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.