Package-level declarations
Types
Allows the picking between two alternatives according to a Bernoulli process.
Randomly selects the elements in the list according to a supplied CDF across the items
A DPopulation is a population of doubles that can be sampled from and permuted.
Defines sampling of random elements. Implementers must ensure that non-null random elements are sampled.
Permits random sampling of the elements of the map according to the supplied CDF over the keys. The number of elements in the CDF must be the same as the number of keys in the map. The map must have at least one element. The CDF array must be a valid cumulative probability distribution.
Permits random sampling of the elements of the map. Elements are randomly sampled with equal probability based on the number of element in the map. There must be at least one element to permit random sampling.