aryagraph.algorithms.dag.CriticalPath#
- class aryagraph.algorithms.dag.CriticalPath(path: list, length: float, earliest_start: NodeMap, earliest_finish: NodeMap, latest_start: NodeMap, latest_finish: NodeMap, slack: NodeMap, critical: set)[source]#
Bases:
objectResult of
critical_path()(activity-on-node CPM).- Variables:
path (list) – A critical chain from a source to a sink whose durations add up to
length.length (float) – The makespan: the earliest time every activity can be finished.
earliest_start (aryagraph.core.results.NodeMap) – Per-node schedule value (
NodeMap): the earliest time each activity can start, the latest earliest finish among its predecessors (0 for a source).earliest_finish (aryagraph.core.results.NodeMap) – Per-node schedule value (
NodeMap): the earliest time each activity can finish, its earliest start plus its duration.latest_start (aryagraph.core.results.NodeMap) – Per-node schedule value (
NodeMap): the latest time each activity can start without delaying the project, its latest finish minus its duration.latest_finish (aryagraph.core.results.NodeMap) – Per-node schedule value (
NodeMap): the latest time each activity can finish without delaying the project, the earliest latest start among its successors (the makespan for a sink).slack (aryagraph.core.results.NodeMap) – Per-node schedule value (
NodeMap): latest start minus earliest start. Slack is how long an activity can slip without delaying the project.critical (set) – Every activity with zero slack (any of them slipping delays the end).
- property makespan: float#
Alias of
length.