演算法›Ch4 圖論演算法第 10 題/共 111 題
10. DAG、排程、Critical Path
#AL-04-010中DAG排程Critical Path
Consider a directed acyclic graph of tasks where every node is a task and every edge is a dependency. If there is an edge from a task to another task , that means we need to finish before starting . We have processors of the same capability and every processor can finish any task in one unit of time.
We define a schedule function to map a task to a positive integer time step . Since we have only processors, so the system can only process at most tasks in one time step. Also, a schedule needs to respect the dependency of edges.
📄 台大113
▤完整推導請見《WH 資工筆記 · 演算法》Ch4 圖論演算法