DEmpirical List
Parameters
elements
the list of elements, must not be null
the CDF
an array holding the cumulative probabilities across the elements in the list
stream
the underlying random number stream to use for randomness
the list of elements, must not be null
an array holding the cumulative probabilities across the elements in the list
the underlying random number stream to use for randomness