neurom.core.tree.Tree¶
-
class
neurom.core.tree.
Tree
(value)¶ Bases:
neurom.core.tree.BaseTree
Simple tree class. This is a recursive data structure, with each tree holding a value and a list of children trees. Every node is a tree.
Methods
__init__
add_child
Add a child to the list of this tree’s children