Class sdm::BoundInitializer
Class List > sdm > BoundInitializer
This initializer initializes a value function to the estimation of the value if we get a constant reward at every timestep. More...
#include <initializer.hpp>
Inherits the following classes: sdm::Initializer
Inherited by the following classes: sdm::BlindInitializer, sdm::MaxInitializer, sdm::MinInitializer
Public Functions
Type | Name |
---|---|
BoundInitializer () | |
BoundInitializer (std::shared_ptr< SolvableByHSVI > world, double value) | |
double | computeValueInfiniteHorizon (std::shared_ptr< ValueFunction > vf) |
double | getValue (std::shared_ptr< ValueFunction > vf, number t) |
virtual void | init (std::shared_ptr< ValueFunction > vf) |
Public Functions inherited from sdm::Initializer
See sdm::Initializer
Type | Name |
---|---|
virtual void | init (std::shared_ptr< ValueFunction > vf) = 0 |
virtual | ~Initializer () |
Protected Attributes
Type | Name |
---|---|
double(MDPInterface:😗 | callback_value = = nullptr |
double | value_ |
std::shared_ptr< SolvableByHSVI > | world_ |
Detailed Description
Template parameters:
TState
the state typeTAction
the action type
Public Functions Documentation
function BoundInitializer [1/2]
sdm::BoundInitializer::BoundInitializer ()
function BoundInitializer [2/2]
sdm::BoundInitializer::BoundInitializer (
std::shared_ptr< SolvableByHSVI > world,
double value
)
function computeValueInfiniteHorizon
double sdm::BoundInitializer::computeValueInfiniteHorizon (
std::shared_ptr< ValueFunction > vf
)
function getValue
double sdm::BoundInitializer::getValue (
std::shared_ptr< ValueFunction > vf,
number t
)
function init
virtual void sdm::BoundInitializer::init (
std::shared_ptr< ValueFunction > vf
)
Implements sdm::Initializer::init
Protected Attributes Documentation
variable callback_value
double(MDPInterface::* sdm::BoundInitializer::callback_value) (number) const;
variable value_
double sdm::BoundInitializer::value_;
variable world_
std::shared_ptr<SolvableByHSVI> sdm::BoundInitializer::world_;
The documentation for this class was generated from the following file src/sdm/utils/value_function/initializer/initializer.hpp