Class sdm::ActionVFMaxplan
Class List > sdm > ActionVFMaxplan
#include <action_maxplan.hpp>
Inherits the following classes: sdm::ActionVFBase
Public Types
| Type | Name |
|---|---|
| typedef std::shared_ptr< State > | TData |
Public Functions
| Type | Name |
|---|---|
| ActionVFMaxplan () | |
| ActionVFMaxplan (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) Select the best action and the hyperplan at t+1 associated for a state at a precise time. |
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::ActionVFMaxplan::TData = std::shared_ptr<State>;
Public Functions Documentation
function ActionVFMaxplan [1/2]
sdm::ActionVFMaxplan::ActionVFMaxplan ()
function ActionVFMaxplan [2/2]
sdm::ActionVFMaxplan::ActionVFMaxplan (
const std::shared_ptr< SolvableByHSVI > & world
)
function selectBestAction
virtual Pair < std::shared_ptr< Action >, double > sdm::ActionVFMaxplan::selectBestAction (
const std::shared_ptr< ValueFunction > & vf,
const std::shared_ptr< State > & state,
number t
)
Parameters:
conststd::shared_ptr<ValueFunction>& vf : Value functionconststd::shared_ptr<State>& state : current statenumbert : time step
Returns:
Pair<std::shared_ptr<Action>,TData> : best action and the hyperplan at t+1 associated
Implements sdm::ActionVFBase::selectBestAction
The documentation for this class was generated from the following file src/sdm/utils/value_function/action_vf/action_maxplan.hpp