Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <BanditMachine.h>
Inheritance diagram for BanditMachine:
Definition at line 20 of file BanditMachine.h.
Public Member Functions | |
BanditMachine () | |
constructor | |
BanditMachine (const char *n, StateNode *p=NULL) | |
constructor | |
virtual | ~BanditMachine () |
destructor | |
virtual void | setup () |
This is called by DoStart() when you should setup the network of subnodes. | |
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. | |
Static Public Member Functions | |
std::string | getClassDescription () |
Gives a short description of what this class of behaviors does... you should override this (but don't have to). | |
Protected Attributes | |
StareAtBallBehavior * | stare |
active as long as we're in this state so it keeps an eye on the ball | |
StateNode * | start |
used to start off by lying down before we start pressing buttons | |
MotionManager::MC_ID | liedown |
a MotionSequence which will move the dog into a lying down posture | |
karmedbanditExp3_1 | bandit |
algorithm to use in the k-armed bandit problem | |
Private Member Functions | |
BanditMachine (const BanditMachine &node) | |
don't call this | |
BanditMachine | operator= (const BanditMachine &node) |
don't call this |
|
constructor
Definition at line 23 of file BanditMachine.h. |
|
constructor
Definition at line 30 of file BanditMachine.h. |
|
destructor
Definition at line 37 of file BanditMachine.h. |
|
don't call this
|
|
Transitions should call this when you are entering the state, so it can enable its transitions.
Reimplemented from StateNode. Definition at line 59 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 71 of file BanditMachine.h. |
|
Gives a short description of what this class of behaviors does... you should override this (but don't have to).
Reimplemented from BehaviorBase. Definition at line 41 of file BanditMachine.h. |
|
don't call this
|
|
This is called by DoStart() when you should setup the network of subnodes.
Reimplemented from StateNode. Definition at line 43 of file BanditMachine.h. |
|
algorithm to use in the k-armed bandit problem
Definition at line 207 of file BanditMachine.h. Referenced by BanditMachine(), and setup(). |
|
a MotionSequence which will move the dog into a lying down posture
Definition at line 206 of file BanditMachine.h. Referenced by BanditMachine(), DoStart(), and DoStop(). |
|
active as long as we're in this state so it keeps an eye on the ball
Definition at line 204 of file BanditMachine.h. Referenced by BanditMachine(), DoStart(), DoStop(), and ~BanditMachine(). |
|
used to start off by lying down before we start pressing buttons
Definition at line 205 of file BanditMachine.h. Referenced by BanditMachine(), DoStart(), and setup(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:02 2004 by Doxygen 1.3.4 |