#include <MBS.hh>
List of all members.
Public Member Functions |
virtual int | getBestAction (const std::vector< float > &s) |
| MBS (int numactions, float gamma, int MAX_LOOPS, float MAX_TIME, int modelType, const std::vector< float > &featmax, const std::vector< float > &featmin, const std::vector< int > &statesPerDim, int delay, Random rng=Random()) |
| MBS (const MBS &) |
virtual void | planOnNewModel () |
virtual void | savePolicy (const char *filename) |
virtual void | setFirst () |
virtual void | setModel (MDPModel *model) |
virtual void | setSeeding (bool seed) |
virtual bool | updateModelWithExperience (const std::vector< float > &last, int act, const std::vector< float > &curr, float reward, bool term) |
virtual | ~MBS () |
Public Attributes |
bool | DELAYDEBUG |
Private Attributes |
std::deque< int > | actHistory |
const unsigned | k |
MDPModel * | model |
bool | seedMode |
ValueIteration * | vi |
Detailed Description
Definition at line 13 of file MBS.hh.
Constructor & Destructor Documentation
MBS::MBS |
( |
int |
numactions, |
|
|
float |
gamma, |
|
|
int |
MAX_LOOPS, |
|
|
float |
MAX_TIME, |
|
|
int |
modelType, |
|
|
const std::vector< float > & |
featmax, |
|
|
const std::vector< float > & |
featmin, |
|
|
const std::vector< int > & |
statesPerDim, |
|
|
int |
delay, |
|
|
Random |
rng = Random() |
|
) |
| |
Standard constructor
- Parameters:
-
numactions,numactions | in the domain |
gamma | discount factor |
maxloops | |
max | time |
rng | random |
Definition at line 8 of file MBS.cc.
Unimplemented copy constructor: internal state cannot be simply copied.
Member Function Documentation
Choose the next action
Implements Planner.
Definition at line 71 of file MBS.cc.
Use the latest experience to update state info and the model.
Implements Planner.
Definition at line 36 of file MBS.cc.
Member Data Documentation
const unsigned MBS::k [private] |
The documentation for this class was generated from the following files: