Distribution
A random function sampling some probability distribution to produce a Double
value.
It can be used to generate a value for simulation parameters (typically duration and cost). It can be a Constant 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. 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.
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.
Concrete methods
Provides a sample Long
value.
Provides a sample Long
value.
Simply rounds a Double
sample.
- Returns
A sample
Long
value.- Definition Classes
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