BanditMachine::DecideNode Class Reference#include <BanditMachine.h>
Inheritance diagram for BanditMachine::DecideNode:
[legend]List of all members.
Detailed Description
uses one of the algorithms in karmedbandit.h to decide which paw to press next
Definition at line 123 of file BanditMachine.h.
Constructor & Destructor Documentation
|
constructor
- Parameters:
-
| n | name of the node |
| p | the parent node |
| bandito | the decision making algorithm to use (look in karmedbandit.h) |
| left | the PressNode to go to if the left paw is chosen |
| right | the PressNode to go to if the right paw is chosen |
Definition at line 132 of file BanditMachine.h. |
BanditMachine::DecideNode::DecideNode |
( |
const DecideNode & |
node |
) |
[private] |
|
Member Function Documentation
virtual void BanditMachine::DecideNode::DoStart |
( |
|
) |
[inline, virtual] |
|
|
Transitions should call this when you are entering the state, so it can enable its transitions.
Reimplemented from StateNode.
Definition at line 135 of file BanditMachine.h. |
Member Data Documentation
The documentation for this class was generated from the following file:
|