DAG
Directed acyclic dependency graph
Mechanism
A directed acyclic graph Topology that allows branching (Parallelize) and merging, but forbids cycles. It models complex dependency chains where tasks can run concurrently but must respect precedence.
Invariants
- Acyclic: no path leads from a node back to itself.
- Edges are directed.
- Rooted: exactly one node has no predecessor, named by `root_id`.
- Nodes with no directed path between them may run concurrently.
Failure modes
- Cycle on insert: an added edge closes a loop, which the acyclicity invariant forbids and which must be detected at insertion rather than at traversal.
- False precedence: an edge asserts a dependency that does not exist, serialising work that could have run concurrently.
Where this came from
—
Builds on
- Topology references
- Parallelize references
Used by
- GraphOfThought composes_with
Identity
- Ref:
DAG#0c8a - Hash: sema:DAG#mh:SHA-256:0c8ae9f4ab979af72ccf01ea840861e6e8473459598901236faf05294d5cb22b
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository