Uniform
A uniform distribution.
Samples a random variable uniformly between min and max.
- Value Params
- max
The maximum possible value.
- min
The minimum possible value.
Value members
Concrete methods
Provides an estimate of the values that can be generated.
Provides an estimate of the values that can be generated.
Uses the median of the uniform distribution.
- Returns
The median as an estimate of the values that can be generated.
- Definition Classes
Inherited methods
Provides a sample Long
value.
Provides a sample Long
value.
Simply rounds a Double
sample.
- Returns
A sample
Long
value.- Definition Classes
- Inherited from
- Distribution
Provides an estimate of the Long
values that can be generated.
Provides an estimate of the Long
values that can be generated.
This could be the mean of the distribution for instance. It can help create an environment of imperfect knowledge. For example, the Scheduler does not know the actual durations of tasks, which can vary from the expected estimate for various reasons.
- Returns
An estimate of the values that can be generated.
- Definition Classes
- Inherited from
- Distribution