Graphs

14
Çiçek Çavdar March 12th 2010

description

Analysis of Algorithms, PS #2

Transcript of Graphs

Page 1: Graphs

Çiçek Çavdar

March 12th 2010

Page 2: Graphs

Graphs- Exercise 3.3

Page 3: Graphs

Directed Acyclic Graphs

Page 4: Graphs

Computing Topological Ordering

Page 5: Graphs

Computing Topological Ord. Look for nodes with no incoming edges

Page 6: Graphs

Question

Page 7: Graphs

Solution

Page 8: Graphs

Solution cont’d

Page 9: Graphs

Homework

Page 10: Graphs

Graphs- Execise 3.7

Page 11: Graphs

Translate the question

Page 12: Graphs

Solution

Page 13: Graphs
Page 14: Graphs

Solution cont’d