Genealogy Paclet Symbol
Genealogy
More About »
TreeNodeParent
TreeNodeParent[tree, i]
returns the parent node of node
i
in
tree
. It is defined only for positive integer of
i
. If i>= 2 n-1, returns -1. Here n is the number of leaves.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
In[2]:=
Out[2]=
Out[2]=
Out[2]=
MORE ABOUT
Genealogy