neat.STree.upBifurcationNode¶
-
STree.
upBifurcationNode
(node, cnode=None)[source]¶ Find the nearest bifurcation node up (towards root) from the input node.
- Parameters
node (neat.SNode) – Starting node for search
cnode (neat.SNode) – For recursion, don’t change default
- Returns
node (neat.SNode) – the bifurcation node
cnode (neat.SNode) – The bifurcation node’s child on the path to the input node.