Random Empirical Map
Allows random selection of elements from the map. The supplied map must have at least one element. The supplied array must represent a valid cumulative distribution function over the same number of elements as in the map.
Constructors
Link copied to clipboard
constructor(parent: ModelElement, map: Map<K, V>, theCDF: DoubleArray, streamNum: Int = 0, name: String? = null)
Allows randomly selecting with equal probability from the elements of the map.