LongDistribution
A random function sampling some probability distribution to produce a Long
value.
It can be used to generate a value for simulation parameters (typically duration). It can be a ConstantLong which always provides the same value or any probability distribution.
Distributions must also provide an estimate of the generated values such that can be used in 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.
Value members
Abstract methods
Provides an estimate of the values that can be generated.
Provides an estimate of the 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.