Class sdm::ValueInitializer
template <class TInput class TInput>
Class List > sdm > ValueInitializer
This initializer initializes a value function to a constant value. More...
#include <initializer.hpp>
Inherits the following classes: sdm::Initializer, sdm::QInitializer
Inherited by the following classes: sdm::ZeroInitializer
Public Functions
Type | Name |
---|---|
ValueInitializer (double v) | |
virtual void | init (std::shared_ptr< ValueFunction > vf) |
virtual void | init (std::shared_ptr< QValueFunction< TInput >> vf) |
void | initBase (std::shared_ptr< BaseValueFunction< TGlobalInput >> vf) |
Public Functions inherited from sdm::Initializer
See sdm::Initializer
Type | Name |
---|---|
virtual void | init (std::shared_ptr< ValueFunction > vf) = 0 |
virtual | ~Initializer () |
Public Functions inherited from sdm::QInitializer
Type | Name |
---|---|
virtual void | init (std::shared_ptr< QValueFunction< TInput >> vf) = 0 |
virtual | ~QInitializer () |
Protected Attributes
Type | Name |
---|---|
double | value |
Detailed Description
Template parameters:
TState
the state typeTAction
the action type
Public Functions Documentation
function ValueInitializer
inline sdm::ValueInitializer::ValueInitializer (
double v
)
function init [1/2]
inline virtual void sdm::ValueInitializer::init (
std::shared_ptr< ValueFunction > vf
)
Implements sdm::Initializer::init
function init [2/2]
inline virtual void sdm::ValueInitializer::init (
std::shared_ptr< QValueFunction < TInput >> vf
)
Implements sdm::QInitializer::init
function initBase
template<class TGlobalInput class TGlobalInput>
inline void sdm::ValueInitializer::initBase (
std::shared_ptr< BaseValueFunction < TGlobalInput >> vf
)
Protected Attributes Documentation
variable value
double sdm::ValueInitializer< TInput >::value;
The documentation for this class was generated from the following file src/sdm/utils/value_function/initializer/initializer.hpp