bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType > Class Template Reference

class DeterministicActionPolicy. a deterministic action apolicy always selects the action indicated More...

#include <deterministic_action_policy.h>

Public Types

typedef PolicyValuesType policy_values_type
typedef policy_values_type::value_type action_type
typedef StateType state_type

Public Member Functions

 DeterministicActionPolicy (policy_values_type &&values)
 DeterministicActionPolicy.
const action_type & on_state (const state_type &state) const

Detailed Description

template<utils::concepts::float_or_integral_vector PolicyValuesType, typename StateType>
requires (std::is_integral<StateType>::value)
class bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType >

class DeterministicActionPolicy. a deterministic action apolicy always selects the action indicated

Member Typedef Documentation

◆ action_type

template<utils::concepts::float_or_integral_vector PolicyValuesType, typename StateType>
typedef policy_values_type::value_type bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType >::action_type

◆ policy_values_type

template<utils::concepts::float_or_integral_vector PolicyValuesType, typename StateType>
typedef PolicyValuesType bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType >::policy_values_type

◆ state_type

template<utils::concepts::float_or_integral_vector PolicyValuesType, typename StateType>
typedef StateType bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType >::state_type

Constructor & Destructor Documentation

◆ DeterministicActionPolicy()

template<utils::concepts::float_or_integral_vector PolicyValuesType, typename StateType>
requires (std::is_integral<StateType>::value)
bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType >::DeterministicActionPolicy ( policy_values_type && values)
explicit

DeterministicActionPolicy.

Parameters
values

Member Function Documentation

◆ on_state()

template<utils::concepts::float_or_integral_vector PolicyValuesType, typename StateType>
const action_type & bitrl::rl::policies::DeterministicActionPolicy< PolicyValuesType, StateType >::on_state ( const state_type & state) const
inline

The documentation for this class was generated from the following file: