Skip to main content

Module scheduler

Module scheduler 

Source
Expand description

Graph validation and topological sort (Kahn’s algorithm). Ensures the graph is a valid DAG before execution.

Functions§

validate_graph
Check for cycles in the task graph using Kahn’s algorithm. This is a pre-execution validation step.