Variable

A variable simulation value that provides a range of values for batches, and a default value for single-shot runs.

Parameters

value typ of the variable

Inheritors

Properties

Link copied to clipboard
abstract val default: V

Functions

Link copied to clipboard
open operator override fun iterator(): MutableIterator<V>
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
open fun steps(): Long
Link copied to clipboard
abstract fun stream(): Stream<V>