bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
cuberl::rl::algos::RLSolverBase< EnvType > Class Template Referenceabstract

RLAlgoBase. Base class for RL algorithms. More...

#include <rl_algorithm_base.h>

Inheritance diagram for cuberl::rl::algos::RLSolverBase< EnvType >:
Collaboration diagram for cuberl::rl::algos::RLSolverBase< EnvType >:

Public Types

typedef EnvType env_type
 

Public Member Functions

virtual ~RLSolverBase ()=default
 Destructor.
 
virtual void actions_before_training_begins (env_type &)=0
 actions_before_training_begins. Execute any actions the algorithm needs before starting the iterations
 
virtual void actions_after_training_ends (env_type &)=0
 actions_after_training_ends. Actions to execute after the training iterations have finisehd
 
virtual void actions_before_episode_begins (env_type &, uint_t)
 actions_before_training_episode
 
virtual void actions_after_episode_ends (env_type &, uint_t, const EpisodeInfo &)
 actions_after_training_episode
 
virtual EpisodeInfo on_training_episode (env_type &, uint_t)=0
 on_episode Do one on_episode of the algorithm
 

Protected Member Functions

 RLSolverBase ()=default
 Constructor.
 

Detailed Description

template<typename EnvType>
class cuberl::rl::algos::RLSolverBase< EnvType >

RLAlgoBase. Base class for RL algorithms.

Member Typedef Documentation

◆ env_type

template<typename EnvType >
typedef EnvType cuberl::rl::algos::RLSolverBase< EnvType >::env_type

Constructor & Destructor Documentation

◆ ~RLSolverBase()

template<typename EnvType >
virtual cuberl::rl::algos::RLSolverBase< EnvType >::~RLSolverBase ( )
virtualdefault

Destructor.

◆ RLSolverBase()

template<typename EnvType >
cuberl::rl::algos::RLSolverBase< EnvType >::RLSolverBase ( )
protecteddefault

Constructor.

Member Function Documentation

◆ actions_after_episode_ends()

◆ actions_after_training_ends()

◆ actions_before_episode_begins()

◆ actions_before_training_begins()

◆ on_training_episode()


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