Edges of the graph
问题 In order to find the kind of the edges of a graph, at which we applied the Depth-first search algorithm, we could use this: tree edges: x -> y when [d[y],f[y]] ⊂ [d[x],f[x]] forward edges: x -> y when [d[x],f[x]] ⊂ [d[y],f[y]] back edges: x -> y when [d[y],f[y]] ⊂ [d[x],f[x]] Cross edges: x -> y when [d[x],f[x]] ∩ [d[y],f[y]]=∅ Discovery Time : The discovery time d[v] is the number of nodes discovered or finished before first seeing v. Finishing Time : The finishing time f[v] is the number of