Depth First Examples
Depth First Examples
Edge (u,v) is
a tree edge if active(u) ⊃ active(v), and there is no vertex
x with active(u) ⊃ active(x) ⊃ active(v),
a forward edge if active(u) ⊃ active(v), but (u,v) is not a
tree edge,
a back edge if active(u) ⊂ active(v),
a cross edge if active(u) ∩ active(v) = ∅ (in which case
active(v) entirely precedes active(u).
1,28
B 2,11
0,33 D 3,10 4,9
A 29,32 30,31 N O
F C
12,27 Q
13,26 M 23,24 P
7,8
E I 5,6
14,25
H 16,21
G L
15,22
18,19
K
J 17,20