aryagraph.sim.scheduling.MonteCarloResult#
- class aryagraph.sim.scheduling.MonteCarloResult(makespans: ~numpy.ndarray, mean: float, std: float, percentiles: dict[str, float], criticality: ~aryagraph.core.results.NodeMap, runs: int, workers: int | None, cpm_length: float, seed: int | None, graph: ~typing.Any = None, params: dict = <factory>)[source]#
Bases:
objectDistribution of the makespan over many simulated schedules.
- Variables:
makespans (numpy.ndarray) –
(runs,)makespan of every run.mean (float) – Sample mean of
makespans.std (float) – Sample standard deviation of
makespans(ddof=1; 0 for a single run).percentiles (dict[str, float]) –
{"P50": …, "P80": …, "P95": …}(linear interpolation).criticality (aryagraph.core.results.NodeMap) – Share of runs in which each task was critical: zero total float with unlimited workers (every tied critical path counts), membership of the run’s
ScheduleResult.critical_pathotherwise.cpm_length (float) – Critical-path length of the nominal durations (the deterministic plan).
- property stderr: float#
Standard error of
mean.