Presentation is loading. Please wait.

Presentation is loading. Please wait.

Topological Ordering Algorithm: Example

Similar presentations


Presentation on theme: "Topological Ordering Algorithm: Example"— Presentation transcript:

1 Topological Ordering Algorithm: Example
v2 v3 v6 v5 v4 v7 v1 v1 Topological order:

2 Topological Ordering Algorithm: Example
v2 v2 v3 v6 v5 v4 v7 Topological order: v1

3 Topological Ordering Algorithm: Example
v3 v3 v6 v5 v4 v7 Topological order: v1, v2

4 Topological Ordering Algorithm: Example
v6 v5 v4 v4 v7 Topological order: v1, v2, v3

5 Topological Ordering Algorithm: Example
v6 v5 v5 v7 Topological order: v1, v2, v3, v4

6 Topological Ordering Algorithm: Example
v6 v6 v7 Topological order: v1, v2, v3, v4, v5

7 Topological Ordering Algorithm: Example
v7 v7 Topological order: v1, v2, v3, v4, v5, v6

8 Topological Ordering Algorithm: Example
v2 v3 v6 v5 v4 v1 v2 v3 v4 v5 v6 v7 v7 v1 Topological order: v1, v2, v3, v4, v5, v6, v7.


Download ppt "Topological Ordering Algorithm: Example"

Similar presentations


Ads by Google