Public Member Functions | Public Attributes
pi_trees_lib.pi_trees_lib.WeightedRandomSequence Class Reference
Inheritance diagram for pi_trees_lib.pi_trees_lib.WeightedRandomSequence:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def run

Public Attributes

 shuffled
 weights

Detailed Description

    A sequence runs each task in random order until one fails,
    at which point it returns FAILURE. If all tasks succeed, a SUCCESS
    status is returned.  If a subtask is still RUNNING, then a RUNNING
    status is returned and processing continues until either SUCCESS
    or FAILURE is returned from the subtask.

Definition at line 226 of file pi_trees_lib.py.


Constructor & Destructor Documentation

def pi_trees_lib.pi_trees_lib.WeightedRandomSequence.__init__ (   self,
  name,
  weights,
  args,
  kwargs 
)

Definition at line 234 of file pi_trees_lib.py.


Member Function Documentation

Reimplemented from pi_trees_lib.pi_trees_lib.Task.

Definition at line 240 of file pi_trees_lib.py.


Member Data Documentation

Definition at line 234 of file pi_trees_lib.py.

Definition at line 234 of file pi_trees_lib.py.


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


pi_trees_lib
Author(s): Patrick Goebel
autogenerated on Thu Jun 6 2019 17:33:29