GraphStream Users

Archives de la liste Aide


Ancestors and descendants


Chronologique Discussions 
  • From: <gvdmoort AT skynet.be>
  • To: graphstream-users AT litislab.fr
  • Subject: Ancestors and descendants
  • Date: Mon, 31 Mar 2014 21:13:41 +0200 (CEST)

Hello,

At first sight, your library seems to fit with my needs. But I don't find in
the API an easy way to get the set of all the descendants or ancestors of a
given node in a directed graph. For the descendants, it's possible to use the
BreadthFirstIterator, but for the ancestors ? Is it necessary to make an
"inversed copy" of the graph ?

I don't find mention of directed or undirected graphs. Can a graph mix
directed
and undirected edges ?

Thanks in advance,

gvdm


  • Ancestors and descendants, gvdmoort, 31/03/2014

Archives gérées par MHonArc 2.6.16.

Top of page