Dataflow Software Stack  032db78
Master Thesis of Mathijs Saey at the VUB
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
IGR.node.CompoundNode Class Reference

Compound node. More...

Inheritance diagram for IGR.node.CompoundNode:
Inheritance graph

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
 

Detailed Description

Compound node.

Represents a node that contains subgraphs. Examples of such nodes include if-then-else, for loops, ...

Constructor & Destructor Documentation

def IGR.node.CompoundNode.__init__ (   self,
  subGraph,
  type,
  subGraphs 
)

Member Function Documentation

def IGR.node.CompoundNode.isCompound (   self)
def IGR.node.CompoundNode.__str__ (   self)
def IGR.node.Node.copy (   self,
  subGraph 
)
inherited

Create a copy of a node.

This will create an identical, unique node, but with unconnected in and output ports.

def IGR.node.Node.getInputPort (   self,
  idx 
)
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

Parameters
idxThe idx of the port you need
Returns
The port at idx
def IGR.node.Node.getOutputPort (   self,
  idx 
)
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

Parameters
idxThe idx of the port you need
Returns
The port at idx
def IGR.node.Node.hasNext (   self)
inherited

See if this node can be followed to other nodes.

def IGR.node.Node.hasPrevious (   self)
inherited

See if this node can be follow to other nodes.

def IGR.node.Node.isCall (   self)
inherited

Check if this node is a call node.

Member Data Documentation

IGR.node.CompoundNode.subGraphs
IGR.node.CompoundNode.type
IGR.node.Node.subGraph
inherited
IGR.node.Node.key
inherited
IGR.node.Node.inputs
inherited
IGR.node.Node.outputs
inherited
IGR.node.Node.inputPorts
inherited
IGR.node.Node.outputPorts
inherited