REmpiricalList

constructor(parent: ModelElement, elements: List<T>, theCDF: DoubleArray, streamNum: Int = 0, name: String? = null)

Allows randomly selecting using the CDF probability from the elements of the list.

Parameters

parent

the parent of this element

elements

the elements in the list

theCDF

the CDF for the elements in the list

streamNum

the stream number to use from the provider. The default is 0, which is the next stream.

name

the optional name of the model element