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

List of all members.

Public Member Functions

def __init__
def run

Public Attributes

 shuffled
 weights

Detailed Description

    Iterate through all child tasks randomly (without replacement) ignoring failure.

Definition at line 345 of file pi_trees_lib.py.


Constructor & Destructor Documentation

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

Definition at line 349 of file pi_trees_lib.py.


Member Function Documentation

Reimplemented from pi_trees_lib.pi_trees_lib.Task.

Definition at line 355 of file pi_trees_lib.py.


Member Data Documentation

Definition at line 349 of file pi_trees_lib.py.

Definition at line 349 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