histopath_bim_des.config.distributions moduleο
Defines a dataclass for a discrete probability distribution on the integers.
- class histopath_bim_des.config.distributions.DistributionInfo(*, type: Literal['Constant', 'Triangular', 'PERT'], low: float, mode: float, high: float, time_unit: Literal['s', 'm', 'h'])[source]ο
Bases:
BaseModel
Information describing a three-point random distributions for task durations.
- class histopath_bim_des.config.distributions.IntDistributionInfo(*, type: Literal['Constant', 'IntTriangular', 'IntPERT'], low: int, mode: int, high: int)[source]ο
Bases:
BaseModel
Information describing a discretised three-point random distribution. The underlying continuous distribution is constructed with parameters (low - 0.5, mode, high + 0.5).