definition of cross edge
are all other edges. They can go between vertices in the same depth-first tree, as long as one vertex is not an ancestor of the other, or they can go between vertices in different depth-first trees.
and also it is given
to show that such an edge (u,v) is a forward edge if u.d < v.d and a cross edge if u.d > v.d.
**i guess the first condition start(u)<start(v), is what you were trying to write.
coming to the question, the condition you have given is for the forward edge or tree edge, not cross edge. i might be wrong, but please verify your answer once.
@aambazinga
then start(u)<start(v)
is it true?
@aambazinga Please clarify, what needs to be the case for the cross edges then. It will be appreciated if you can show it to us.
64.3k questions
77.9k answers
244k comments
80.0k users