presStack Class Reference

class to run as many simultaneous commands at the same time More...

Inheritance diagram for presStack:

Runner defaultRunner dryrunRunner MultiCoreRunner

List of all members.

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


Detailed Description

class to run as many simultaneous commands at the same time

Definition at line 36 of file PresidenceStack.py.


Member Function Documentation

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 
)

Parameters:
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 
)

adds a node to the cleaner

Definition at line 139 of file PresidenceStack.py.


Member Data Documentation

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.

G

Definition at line 46 of file PresidenceStack.py.


The documentation for this class was generated from the following file:

Generated on Sun Aug 10 09:11:11 2008 for SLIMpy by  doxygen 1.5.6