Expand description
Distributions sampled as part of a State
.
Structs§
- Dist
- A distribution used in a
State
. Can be sampled to get a value. The value is clamped to the range [start, max] if both are set.
Enums§
- Dist
Type - DistType represents the type of a
Dist
. Supports a wide range of different distributions. Some are probably useless and some are probably missing. Uses therand_distr
crate for sampling.
Constants§
- DIST_
MIN_ PROBABILITY - The minimum probability of a
Dist
with a probability parameter. This is set to prevent poor sampling performance for low probabilities. Set to 1e-9.