![]() |
Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
Complete program. More...
Functions | |
def | addSubGraph |
Add a subgraph to the program. More... | |
def | bindName |
Add a subgraph to a given name. More... | |
def | getSubGraphs |
Get a list of all the non-compound subgraphs in the program. More... | |
def | getSubGraph |
Get a subgraph by name. More... | |
def | removeSubGraph |
Remove a subgraph from the program. More... | |
Variables | |
list | __SUBGRAPHS__ = [] |
All of the functions in the program. More... | |
dictionary | __FUNCTION_NAMES__ = {} |
The function names, combined with the subgraph they map to. More... | |
Complete program.
This defines the complete program graph. All of the subgraphs as well as their names can be found here.
This file also defines a few top level functions that facilitate adding nodes, ports and literals to the IGR.
def IGR.graph.addSubGraph | ( | subGraph | ) |
Add a subgraph to the program.
subGraph | The subgraph to add. |
def IGR.graph.bindName | ( | graph | ) |
Add a subgraph to a given name.
graph | The graph to add. It's name field will be used to retrieve it. |
def IGR.graph.getSubGraphs | ( | ) |
Get a list of all the non-compound subgraphs in the program.
def IGR.graph.getSubGraph | ( | name | ) |
Get a subgraph by name.
name | The name of the subgraph we want to retrieve. |
def IGR.graph.removeSubGraph | ( | subGraph | ) |
Remove a subgraph from the program.
This only works for subgraphs that are not a part of a compound node. Care should be taken to avoid calling this method while iterating over the subgraph list.
subGraph | A reference to the subgraph to remove. |
list IGR.graph.__SUBGRAPHS__ = [] |
All of the functions in the program.
dictionary IGR.graph.__FUNCTION_NAMES__ = {} |
The function names, combined with the subgraph they map to.