Home | Trees | Indices | Help |
|
---|
|
object --+ | ConditionBucket
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
Bucket to hold a set of conditions or stimulus parameters,. Initialize with a list of conditions -- can be any type of sequence object (list, tuple etc) to be provided to the task on-demand.
|
Reset the bucket -- usually task shouldn't need to call this. This resets the bucket back to the starting point, potentially re-randomizing the order. This is automatically called when the bucket on initialization and when the bucket goes empty, so the user should need need to call this directly.
|
Get next condition from the bucket. Automatically refills bucket when it's empty. The index number returned here is what needs to be passed to pop when putting things back in the bucket.
|
Put condition back in the bucket (if there's an error) Automatically refills bucket when it's empty
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 17 00:22:04 2018 | http://epydoc.sourceforge.net |