Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
Compound node. More...
Public Member Functions | |
def | __init__ |
def | isCompound |
def | __str__ |
def | copy |
Create a copy of a node. More... | |
def | getInputPort |
Gets an input port. More... | |
def | getOutputPort |
Gets an output port. More... | |
def | hasNext |
See if this node can be followed to other nodes. More... | |
def | hasPrevious |
See if this node can be follow to other nodes. More... | |
def | isCall |
Check if this node is a call node. More... | |
Public Attributes | |
subGraphs | |
type | |
subGraph | |
key | |
inputs | |
outputs | |
inputPorts | |
outputPorts | |
Compound node.
Represents a node that contains subgraphs. Examples of such nodes include if-then-else, for loops, ...
def IGR.node.CompoundNode.__init__ | ( | self, | |
subGraph, | |||
type, | |||
subGraphs | |||
) |
def IGR.node.CompoundNode.isCompound | ( | self | ) |
def IGR.node.CompoundNode.__str__ | ( | self | ) |
|
inherited |
Create a copy of a node.
This will create an identical, unique node, but with unconnected in and output ports.
|
inherited |
Gets an input port.
Create it if it doesn't exist yet. This allows us to determine the amount of inputs a certain node will have, even if this is not explicit in IF1
idx | The idx of the port you need |
|
inherited |
Gets an output port.
Create it if it doesn't exist yet. This allows us to determine the amount of outputs a certain node will have, even if this is not explicit in IF1
idx | The idx of the port you need |
|
inherited |
See if this node can be followed to other nodes.
|
inherited |
See if this node can be follow to other nodes.
|
inherited |
Check if this node is a call node.
IGR.node.CompoundNode.subGraphs |
IGR.node.CompoundNode.type |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |