This http://www.jsoftware.com/pipermail/programming/2007-July/007283.html
determines components, if I remember correctly.


R.E.Boss


> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:programming-
> [email protected]] Namens John Baker
> Verzonden: dinsdag 14 april 2009 16:44
> Aan: [email protected]
> Onderwerp: [Jprogramming] quick test for rooted tree from parent/child
> connection table.
> 
> I'm sure someone has worked through this.  I am looking for a quick
> efficient J test that a parent child table digraph representation is
> a connected rooted tree.  The node lists I am processing are in the many
> thousands so converting to an adjaceny matrix representation and using
> something like transitive closure is out.
> 
> --
> John D. Baker
> [email protected]
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to