raplan.distributions
¶
RaPlan distributions module.
Exponential
¶
Bases: Distribution
Exponential distribution.
Attributes:
| Name | Type | Description |
|---|---|---|
lambd |
int | float
|
Occasion rate or 1 divided by the desired mean. In scheduling, it should be greater than zero. |
cdf
¶
LogNormal
¶
Pareto
¶
Triangular
¶
Bases: Distribution
Triangular distribution.
Samples are in the range [low, high] and with the specified mode between those bounds. The mode defaults to the midpoint between the two bounds.
Attributes:
| Name | Type | Description |
|---|---|---|
low |
int | float
|
Lower bound of the sample range. |
high |
int | float
|
Upper bound of the sample range. |
mode |
int | float | None
|
The mode between those two bounds. |