neat.STree.addNodeWithParent

STree.addNodeWithParent(node, pnode)[source]

Add a node to the tree under a specific parent node

Parameters
  • node (neat.SNode) – node to be added

  • pnode (neat.SNode) – parent node of the newly added node