Public Member Functions | |
def | __init__ |
def | set_graph |
def | pull |
pull a command of the top of the ready stack may return none if there are no ready nodes | |
def | pop |
def | has_ready |
def | has_ready_data |
def | pull_data |
def | has_more_jobs |
def | num_working |
def | clean |
adds a node to the cleaner | |
Public Attributes | |
status | |
ready | |
sources | |
cleaner | |
G |
Definition at line 36 of file PresidenceStack.py.
def __init__ | ( | self | ) |
Reimplemented in defaultRunner, dryrunRunner, and MultiCoreRunner.
Definition at line 38 of file PresidenceStack.py.
def set_graph | ( | self, | ||
graph | ||||
) |
Reimplemented in defaultRunner, dryrunRunner, and MultiCoreRunner.
Definition at line 41 of file PresidenceStack.py.
def pull | ( | self, | ||
u = None | ||||
) |
pull a command of the top of the ready stack may return none if there are no ready nodes
Definition at line 67 of file PresidenceStack.py.
def pop | ( | self, | ||
u | ||||
) |
u,: | node in the graph : u was a node pulled by the pull command : 1. for each 'D' a dependent of u if all of 'D's dependencies are met, 'D' will be added to the ready stack 2. u will be passes to the current cleaner 3. u will be added to the graphs source nodes |
Definition at line 90 of file PresidenceStack.py.
def has_ready | ( | self | ) |
Definition at line 111 of file PresidenceStack.py.
def has_ready_data | ( | self | ) |
Definition at line 114 of file PresidenceStack.py.
def pull_data | ( | self | ) |
Definition at line 117 of file PresidenceStack.py.
def has_more_jobs | ( | self | ) |
Definition at line 127 of file PresidenceStack.py.
def num_working | ( | self | ) |
Definition at line 132 of file PresidenceStack.py.
def clean | ( | self, | ||
node | ||||
) |
Definition at line 42 of file PresidenceStack.py.
Definition at line 43 of file PresidenceStack.py.
Definition at line 44 of file PresidenceStack.py.
Definition at line 45 of file PresidenceStack.py.
Definition at line 46 of file PresidenceStack.py.