Platforms: Any
Class for Globs. It provides all necessary Globs interface. Constructor arguments: :param nodes: List of Node’s specifications. Nodes’ specifications are tuples (name, class). Name is unique string, class is subclass of core.Node. Class constructor will be called with usual Node arguments, considered with class core.Node.__shape__. :type nodes: list of tuples(string, classobj)
Parameters: |
|
---|
Methods
Note
There are no currentlymethod(s) to delete Nodes because there are many ambiguous moments. Yes, destruction is more complex than construction!
Instance attributes
Variable syname: | |
---|---|
name of Glob. | |
Variable nodes: | names-to-Nodes mapping. |
Variable inputs, outputs: | |
lists of input/output Nodes. |
Following the principles of duck typing, input interface means that Node has a put(value) method, where value is number.