Scheduler
Public Member Functions | List of all members
Mdp::ActionValuesFunction Class Referenceabstract

#include <actionValuesFunction.h>

Inheritance diagram for Mdp::ActionValuesFunction:
Mdp::ApproximatedFunction Mdp::TabularActionValues Mdp::PolynomialNetwork

Public Member Functions

virtual double getValue (state_t state, action_t action)=0
 
virtual std::vector< double > getValues (state_t state)=0
 

Detailed Description

This is the interface for any function mapping a (state, action) paitr to an action value

Definition at line 27 of file actionValuesFunction.h.

Member Function Documentation

virtual double Mdp::ActionValuesFunction::getValue ( state_t  state,
action_t  action 
)
pure virtual

Get the action value for a given state and action

Implemented in Mdp::ApproximatedFunction, Mdp::TabularActionValues, and Mdp::PolynomialNetwork.

virtual std::vector<double> Mdp::ActionValuesFunction::getValues ( state_t  state)
pure virtual

Get the vector of action values for all actions for a given state

Implemented in Mdp::ApproximatedFunction, Mdp::TabularActionValues, and Mdp::PolynomialNetwork.


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