Public Member Functions | |
def | __init__ |
def | run |
Public Attributes | |
shuffled | |
weights |
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.
def pi_trees_lib.pi_trees_lib.WeightedRandomSequence.__init__ | ( | self, | |
name, | |||
weights, | |||
args, | |||
kwargs | |||
) |
Definition at line 234 of file pi_trees_lib.py.
Reimplemented from pi_trees_lib.pi_trees_lib.Task.
Definition at line 240 of file pi_trees_lib.py.
Definition at line 234 of file pi_trees_lib.py.
Definition at line 234 of file pi_trees_lib.py.