Scheduler
Public Member Functions | List of all members
Mdp::Rewards Class Reference

#include <rewards.h>

Public Member Functions

 Rewards (size_t nbOfStates, size_t nbOfActions)
 
double getReward (state_t, action_t)
 
void setReward (state_t state, action_t action, double reward)
 
void print (std::ostream &stream)
 
size_t getNbOfStates ()
 
size_t getNbOfActions ()
 

Detailed Description

Definition at line 23 of file rewards.h.

Constructor & Destructor Documentation

Rewards::Rewards ( size_t  nbOfStates,
size_t  nbOfActions 
)

Definition at line 16 of file rewards.cpp.

Member Function Documentation

size_t Mdp::Rewards::getNbOfActions ( )
inline

Definition at line 31 of file rewards.h.

size_t Mdp::Rewards::getNbOfStates ( )
inline

Definition at line 30 of file rewards.h.

double Rewards::getReward ( state_t  state,
action_t  action 
)

Definition at line 23 of file rewards.cpp.

void Rewards::print ( std::ostream &  stream)

Definition at line 34 of file rewards.cpp.

void Rewards::setReward ( state_t  state,
action_t  action,
double  reward 
)

Definition at line 28 of file rewards.cpp.


The documentation for this class was generated from the following files: