Dataflow Software Stack  032db78
Master Thesis of Mathijs Saey at the VUB
 All Classes Namespaces Files Functions Variables Pages
Functions | Variables
backEnd.DVM.nodeConverter Namespace Reference

IGR node converter. More...

Functions

def addLinks
 
def addLiterals
 
def convertGeneralNode
 
def convertNode
 Add the DIS equivalent of a certain node to a DIS object. More...
 
def convertOpNode
 
def convertConstantNode
 
def convertSGEntryNode
 
def convertSGExitNode
 
def convertCallNode
 

Variables

dictionary converters
 

Detailed Description

IGR node converter.

This module can convert the various IGR node types into an equivalent DIS statement.

Function Documentation

def backEnd.DVM.nodeConverter.addLinks (   dis,
  node 
)
def backEnd.DVM.nodeConverter.addLiterals (   dis,
  node 
)
def backEnd.DVM.nodeConverter.convertGeneralNode (   dis,
  node,
  chunk,
  type,
  args 
)
def backEnd.DVM.nodeConverter.convertNode ( )

Add the DIS equivalent of a certain node to a DIS object.

Parameters
disA DIS instance that will contain the DIS version of the node.
nodeThe node to convert.
Returns
The key of the node in DIS.
def backEnd.DVM.nodeConverter.convertOpNode (   dis,
  node 
)
def backEnd.DVM.nodeConverter.convertConstantNode (   dis,
  node 
)
def backEnd.DVM.nodeConverter.convertSGEntryNode (   dis,
  node 
)
def backEnd.DVM.nodeConverter.convertSGExitNode (   dis,
  node 
)
def backEnd.DVM.nodeConverter.convertCallNode (   dis,
  node 
)

Variable Documentation

dictionary backEnd.DVM.nodeConverter.converters
Initial value:
1 = {
2  IGR.node.Node : convertNode,
3  IGR.node.SubGraphEntryNode : convertSGEntryNode,
4  IGR.node.SubGraphExitNode : convertSGExitNode,
5  IGR.node.OperationNode : convertOpNode,
6  IGR.node.CallNode : convertCallNode,
7  IGR.node.ConstantNode : convertConstantNode,
8 }
Entry point of a subgraph.
Definition: node.py:176
Constant node.
Definition: node.py:246
Operation node.
Definition: node.py:213
Exit point of a subgraph.
Definition: node.py:193
Standard node.
Definition: node.py:64
Call node.
Definition: node.py:229