Class sdm::ValueFunctionFactory
template <typename TState typename TState, typename TAction typename TAction>
Class List > sdm > ValueFunctionFactory
The ValueFunctionFactory class facilitates users to interact and instanciate value functions.More...
#include <value_functions.hpp>
Protected Types
Type | Name |
---|---|
typedef std::map< std::string, std::shared_ptr< Initializer< TState, TAction > > * | map_type |
Protected Static Functions
Type | Name |
---|---|
void | addToRegistry (std::string name) |
std::shared_ptr< Initializer< TState, TAction > > | make (std::string name) |
Detailed Description
Template parameters:
TState
the state typeTAction
the action type
Protected Types Documentation
typedef map_type
typedef std::map<std::string, std::shared_ptr<Initializer<TState, TAction> >* sdm::ValueFunctionFactory< TState, TAction >::map_type() { return registry_; } static std::vector< std::string > available(;
Protected Static Functions Documentation
function addToRegistry
template<template< typename TS, typename TA > class TValueFunction>
static inline void sdm::ValueFunctionFactory::addToRegistry (
std::string name
)
function make
static inline std::shared_ptr< Initializer < TState, TAction > > sdm::ValueFunctionFactory::make (
std::string name
)
The documentation for this class was generated from the following file src/sdm/utils/value_function/value_functions.hpp