| Trees | Indices | Help |
|
|---|
|
|
A node in the classification scheme. Contains methods to create a node and add its parents and children. Meant to be called only by Scheme in this module, in the course of constructing the classification scheme.
|
|||
|
|||
|
|||
|
|||
| Class_ |
|
||
|
|||
| Dict of str to Class_ |
_class_names_d Dict of class names to classes in the current node |
||
| set of Node |
children Children of the current Node (set indirectly by Scheme.__init__()) |
||
| set of Class_ in the current node |
classes Class_ objects contained within the current node |
||
| int |
level Level of the current Node (set by Node.__init__()) |
||
| str |
name Name of the current Node (set by Node.__init__()) |
||
| set of Node |
parents Parents of the current Node (set indirectly by Scheme.__init__()) |
||
| Scheme |
scheme Scheme that the current Node belongs to (set by Node.__init__()) |
||
|
|||
Add a node with the given name at the given level.
|
Add a child node to the current node.
|
Add a parent node to the current node.
|
Return the Class object bearing the given class_name that resides in the current node. If a class with the given name does not exist in the current node, create it and add it. This is entry point for the creation of classes.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jan 10 20:54:36 2015 | http://epydoc.sourceforge.net |