Class sdm::ActionVFMaxplanSerial
Class List > sdm > ActionVFMaxplanSerial
#include <action_maxplan_serial.hpp>
Inherits the following classes: sdm::ActionVFBase
Public Types
Type | Name |
---|---|
typedef std::shared_ptr< State > | TData |
Public Functions
Type | Name |
---|---|
ActionVFMaxplanSerial () | |
ActionVFMaxplanSerial (const std::shared_ptr< SolvableByHSVI > & world) | |
double | evaluateNextExpectedValueAt (const std::shared_ptr< State > & hyperplan, const std::shared_ptr< HistoryInterface > & joint_history, const std::shared_ptr< State > & state, const std::shared_ptr< Action > & action, number t) |
double | evaluationOfHyperplanKnowingNextHyperplanAndDiscreteAction (const std::shared_ptr< State > & occupancy_state, const std::shared_ptr< Action > & action, const std::shared_ptr< State > & next_step_hyperplan, number t) |
virtual Pair< std::shared_ptr< Action >, double > | selectBestAction (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & state, number t) Select the best action and the hyperplan at t+1 associated for a state at a precise time. |
Pair< std::shared_ptr< Action >, double > | selectBestActionKnowingNextHyperplanAndHistory (const std::shared_ptr< State > & state, const std::shared_ptr< State > & next_hyperplan, const std::shared_ptr< HistoryInterface > & ihistory, number t) |
Pair< std::shared_ptr< Action >, double > | selectBestDecisionRuleKnowingNextHyperplan (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & state, const std::shared_ptr< State > & next_hyperplan, number t) Select the best action and value associated for a state at a precise time and a precise next hyperplan at t +1. |
Public Functions inherited from sdm::ActionVFBase
Type | Name |
---|---|
ActionVFBase () | |
ActionVFBase (const std::shared_ptr< SolvableByHSVI > & world) | |
virtual Pair< std::shared_ptr< Action >, double > | selectBestAction (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & state, number t) = 0 Select the best action for a state at a precise time. |
virtual | ~ActionVFBase () |
Public Functions inherited from sdm::ActionVFInterface
Type | Name |
---|---|
virtual Pair< std::shared_ptr< Action >, double > | selectBestAction (const std::shared_ptr< ValueFunction > & vf, const std::shared_ptr< State > & state, number t) = 0 Select the best action for a state at a precise time. |
Protected Attributes inherited from sdm::ActionVFBase
Type | Name |
---|---|
std::shared_ptr< SolvableByHSVI > | world_ |
Public Types Documentation
typedef TData
using sdm::ActionVFMaxplanSerial::TData = std::shared_ptr<State>;
Public Functions Documentation
function ActionVFMaxplanSerial [1/2]
sdm::ActionVFMaxplanSerial::ActionVFMaxplanSerial ()
function ActionVFMaxplanSerial [2/2]
sdm::ActionVFMaxplanSerial::ActionVFMaxplanSerial (
const std::shared_ptr< SolvableByHSVI > & world
)
function evaluateNextExpectedValueAt
double sdm::ActionVFMaxplanSerial::evaluateNextExpectedValueAt (
const std::shared_ptr< State > & hyperplan,
const std::shared_ptr< HistoryInterface > & joint_history,
const std::shared_ptr< State > & state,
const std::shared_ptr< Action > & action,
number t
)
function evaluationOfHyperplanKnowingNextHyperplanAndDiscreteAction
double sdm::ActionVFMaxplanSerial::evaluationOfHyperplanKnowingNextHyperplanAndDiscreteAction (
const std::shared_ptr< State > & occupancy_state,
const std::shared_ptr< Action > & action,
const std::shared_ptr< State > & next_step_hyperplan,
number t
)
function selectBestAction
virtual Pair < std::shared_ptr< Action >, double > sdm::ActionVFMaxplanSerial::selectBestAction (
const std::shared_ptr< ValueFunction > & vf,
const std::shared_ptr< State > & state,
number t
)
Parameters:
const
std::shared_ptr<ValueFunction>& vf : Value functionconst
std::shared_ptr<State>& state : current statenumber
t : time step
Returns:
Pair<std::shared_ptr<Action>,TData> : best action and the hyperplan at t+1 associated
Implements sdm::ActionVFBase::selectBestAction
function selectBestActionKnowingNextHyperplanAndHistory
Pair < std::shared_ptr< Action >, double > sdm::ActionVFMaxplanSerial::selectBestActionKnowingNextHyperplanAndHistory (
const std::shared_ptr< State > & state,
const std::shared_ptr< State > & next_hyperplan,
const std::shared_ptr< HistoryInterface > & ihistory,
number t
)
function selectBestDecisionRuleKnowingNextHyperplan
Pair < std::shared_ptr< Action >, double > sdm::ActionVFMaxplanSerial::selectBestDecisionRuleKnowingNextHyperplan (
const std::shared_ptr< ValueFunction > & vf,
const std::shared_ptr< State > & state,
const std::shared_ptr< State > & next_hyperplan,
number t
)
Parameters:
const
std::shared_ptr<ValueFunction>& vf : Value functionconst
std::shared_ptr<State>& state : current stateconst
std::shared_ptr<BeliefInterface>&number
t : time step
Returns:
Pair<std::shared_ptr<Action>,double> : best action and the value associated
The documentation for this class was generated from the following file src/sdm/utils/value_function/action_vf/action_maxplan_serial.hpp