aryagraph.generators.dags.project_plan#

aryagraph.generators.dags.project_plan() → DAG[source]#

Construction of a single-family house in 18 tasks, a classic CPM/PERT example.

Durations are working hours (40 h = one week). Arcs carry lag, a mandatory wait in hours after the predecessor finishes (concrete curing, drywall mud drying); it is 0 elsewhere. critical_path() and the schedulers read node durations only, so to include a lag, insert it as a task of its own on that arc.