rllib
Public Types | Public Member Functions | Static Public Member Functions | List of all members
rl::problem::mountain_car::Simulator< MOUNTAIN_CAR_PARAM > Class Template Reference

#include <rl-mountain-car.hpp>

Public Types

using param_type = MOUNTAIN_CAR_PARAM
 
using phase_type = Phase< param_type >
 
using observation_type = phase_type
 
using action_type = Action
 
using reward_type = double
 

Public Member Functions

void location (double &position, double &speed, double &height)
 
void setPhase (const phase_type &s)
 
const observation_typesense (void) const
 
void timeStep (const action_type &a)
 
reward_type reward (void) const
 
 Simulator (const Simulator &copy)
 
Simulatoroperator= (const Simulator &copy)
 

Static Public Member Functions

static double heightOf (double position)
 
static double bottom (void)
 

Detailed Description

template<typename MOUNTAIN_CAR_PARAM>
class rl::problem::mountain_car::Simulator< MOUNTAIN_CAR_PARAM >

Mountain car simulator

Author
Herve.Frezza-Buet@supelec.fr
Examples
example-003-003-mountain-car-ktdsarsa.cc.

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