| 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 |
|
||
|
|||
| set of _Node |
children Children of the current _Node (set indirectly by Scheme.__init__()) |
||
| 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 Mon May 19 23:05:07 2014 | http://epydoc.sourceforge.net |