Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
Public Member Functions | |
def | __init__ |
def | execute |
def | setKey |
Set the instruction address. More... | |
def | __str__ |
Return a string representation of this instruction. More... | |
def | addDestination |
def | sendDatum |
Public Attributes | |
value | |
chunk | |
key | |
destinations | |
Constant instruction.
A special sink that always sends it's value to it's destinations when it encounters input. This is not really 'nice' according to dataflow semantics but necessary to allow literals that cannot be propagated.
The constant instruction will only send it's value when receiving data on port 0. This allows it to only generate a single token when it is placed after a switch statement (which is the only place where it should occur).
def core.instruction.Constant.__init__ | ( | self, | |
value | |||
) |
def core.instruction.Constant.execute | ( | self, | |
token, | |||
core | |||
) |
|
inherited |
Set the instruction address.
|
inherited |
Return a string representation of this instruction.
|
inherited |
|
inherited |
core.instruction.Constant.value |
|
inherited |
|
inherited |
|
inherited |