Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <BanditMachine.h>
Inheritance diagram for BanditMachine::WaitNode:
Definition at line 157 of file BanditMachine.h.
Public Member Functions | |
WaitNode (const char *n, StateNode *p, karmedbanditExp3_1 &bandito) | |
constructor | |
virtual | ~WaitNode () |
destructor | |
virtual void | DoStart () |
Transitions should call this when you are entering the state, so it can enable its transitions. | |
virtual void | DoStop () |
Transitions should call this when you are leaving the state, so it can disable its transitions. | |
virtual void | processEvent (const EventBase &event) |
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing. | |
Protected Attributes | |
karmedbanditExp3_1 & | b |
the class implimenting a k-armed bandit algorithm to pass the reward back to | |
bool | reward |
true if a reward was received | |
MotionManager::MC_ID | leds_id |
MC_ID of a LedMC. |
|
constructor
Definition at line 164 of file BanditMachine.h. |
|
destructor
Definition at line 170 of file BanditMachine.h. |
|
Transitions should call this when you are entering the state, so it can enable its transitions.
Reimplemented from StateNode. Definition at line 173 of file BanditMachine.h. |
|
Transitions should call this when you are leaving the state, so it can disable its transitions.
Reimplemented from StateNode. Definition at line 180 of file BanditMachine.h. |
|
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing.
Reimplemented from BehaviorBase. Definition at line 187 of file BanditMachine.h. |
|
the class implimenting a k-armed bandit algorithm to pass the reward back to
Definition at line 199 of file BanditMachine.h. Referenced by DoStop(), and WaitNode(). |
|
MC_ID of a LedMC.
Definition at line 201 of file BanditMachine.h. Referenced by DoStart(), processEvent(), WaitNode(), and ~WaitNode(). |
|
true if a reward was received
Definition at line 200 of file BanditMachine.h. Referenced by DoStop(), processEvent(), and WaitNode(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:03 2004 by Doxygen 1.3.4 |