|
Peano
|
Take an action set and construct an observer from it. More...


Public Member Functions | |
| __init__ (self, step) | |
| construct_output (self, output, included_action_sets, task_groups=None) | |
| Construct one mapping. | |
Data Fields | |
| step | |
Take an action set and construct an observer from it.
An action set is, as the name suggests, a set of actions. Each action set will have to be mapped onto one C++ action set, which is a where the action behaviour is implemented: a selection of functions which react to events such as "I have hit a face for the first time".
An observer administers these action sets:
Consequently, each action set among the solver steps yields exactly one observer, but potentially many action sets in the C++ implementation.
Definition at line 6 of file StepToObserver.py.
| peano4.api.solversteps.StepToObserver.StepToObserver.__init__ | ( | self, | |
| step | |||
| ) |
Definition at line 36 of file StepToObserver.py.
| peano4.api.solversteps.StepToObserver.StepToObserver.construct_output | ( | self, | |
| output, | |||
| included_action_sets, | |||
task_groups = None |
|||
| ) |
Construct one mapping.
| task_groups | [[int]] or None Groups of indices into included_action_sets, i.e. action sets which run in parallel - peano4.api.output.Observer.Observer. |
Definition at line 40 of file StepToObserver.py.
References peano4.api.solversteps.StepToActionSets.StepToActionSets.step, and peano4.api.solversteps.StepToObserver.StepToObserver.step.
| peano4.api.solversteps.StepToObserver.StepToObserver.step |
Definition at line 37 of file StepToObserver.py.
Referenced by peano4.api.solversteps.StepToActionSets.StepToActionSets.construct_output(), and peano4.api.solversteps.StepToObserver.StepToObserver.construct_output().