Slides6 - 1 Lecture 6 Critical Path Method Acyclic directed...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Lecture 6 Critical Path Method Acyclic directed graphs So far we computed shortest paths in undirected graphs with non-negative edge costs. Let’s look at acyclic directed graphs. directed path not a directed path directed cycle not a directed cycle Acyclic directed graphs have no directed cycles. 2 Acyclic directed graphs Problem: Given an acyclic directed graph, find the length of shortest path from one node to all others. 1 4 3 2 7 6 5 8 4 1 2 2 5 13 1 11 8 1 6 7 9 3 Note: In acyclic directed graphs we can number the nodes 1,2,...,n such that implies i<j. Acyclic directed graphs i j Why? 1) there must be a node with no incoming arc (why?) 2) Label this with number 1, and delete all outgoing edges. Then, 1) applies again – number this node with the next higher number. Etc... 1 4 3 2 7 6 5 8 4 1 2 2 5 13 1 11 8 1 6 7 9 3 1 4 1 2 2 5 13 1 11 8 1 6 7 9 3 1 4 1 2 2 5 13 1 11 8 1 6 7 9 3 2 1 4 1 2 2 5 13 1 11 8 1 6 7 9 3 2 3 1 2 3 4 5 6 7 8 4 1 2 2 5 13 1 11 8 1 6 7 9 3 3 1 2 3 4 5 6...
View Full Document

This note was uploaded on 02/23/2008 for the course ENGRI 1101 taught by Professor Trotter during the Spring '05 term at Cornell.

Page1 / 7

Slides6 - 1 Lecture 6 Critical Path Method Acyclic directed...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online