Terms like "root" and "parent" are used with trees. You might call
these nodes "nodes with indegree 0".
-W
On 18/06/2014, Borris <borris(a)chaos.org.uk> wrote:
Good question. I'm supporting a graph rather than a tree, so
theoretically
there could be more than one node that has no parents. But in my particular
use case I am constraining the data so that there is never more than one
root node.
So how to find the root node (singular) from an arbitrary node in the graph
is my goal.
--
View this message in context:
http://drools.46999.n3.nabble.com/Noob-question-graph-searching-query-roo...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users