Re: [jgrapht-users] DepthFirstIterator - Skip and move to next branch?
Brought to you by:
barak_naveh,
perfecthash
From: Michael Z. <li...@in...> - 2008-03-11 15:41:22
|
John V. Sichi wrote: > For a tree, the semantics are unambiguous. But what about a DAG? DAG = directed graph? If so, you are right. For anything more complex than a tree, "sub"-elements can not be determined reliably. Yet, any other ideas how to do this with jgrapht? Currently, here I do use some recursive function calls with "for each child: call recursively). Pretty ugly. cu, Michael |