neat.STree.find_bifurcation_node_from_root

STree.find_bifurcation_node_from_root(node)[source]

Find the nearest bifurcation node towards leaf from the input node.

Parameters:

node (neat.SNode) – Starting node for search

Returns:

node – the bifurcation node

Return type:

neat.SNode