bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
cuberl::rl::agents::DummyAgent< EnvType, PolicyType > Class Template Referencefinal

#include <dummy_agent.h>

Inheritance diagram for cuberl::rl::agents::DummyAgent< EnvType, PolicyType >:
Collaboration diagram for cuberl::rl::agents::DummyAgent< EnvType, PolicyType >:

Public Types

typedef EnvType env_type
 
typedef env_type::state_type state_type
 
typedef env_type::action_type action_type
 
typedef PolicyType policy_type
 

Public Member Functions

 DummyAgent (const policy_type &policy)
 DummyAgent.
 
template<typename Criteria >
void play (EnvType &env, Criteria &criteria)
 
action_type on_state (const state_type &state)
 on_state
 

Protected Attributes

const policy_typepolicy_
 policy_
 

Member Typedef Documentation

◆ action_type

template<typename EnvType , typename PolicyType >
typedef env_type::action_type cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::action_type

◆ env_type

template<typename EnvType , typename PolicyType >
typedef EnvType cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::env_type

◆ policy_type

template<typename EnvType , typename PolicyType >
typedef PolicyType cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::policy_type

◆ state_type

template<typename EnvType , typename PolicyType >
typedef env_type::state_type cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::state_type

Constructor & Destructor Documentation

◆ DummyAgent()

template<typename EnvType , typename PolicyType >
cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::DummyAgent ( const policy_type policy)
explicit

DummyAgent.

Parameters
policy

Member Function Documentation

◆ on_state()

template<typename EnvType , typename PolicyType >
DummyAgent< EnvType, PolicyType >::action_type cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::on_state ( const state_type state)

on_state

Parameters
state
Returns

◆ play()

template<typename EnvType , typename PolicyType >
template<typename Criteria >
void cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::play ( EnvType &  env,
Criteria &  criteria 
)

Member Data Documentation

◆ policy_

template<typename EnvType , typename PolicyType >
const policy_type& cuberl::rl::agents::DummyAgent< EnvType, PolicyType >::policy_
protected

policy_


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