Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /home/btanner/library.rl-community.org/includes/StubObject.php on line 58
Mountain Car 3D (CPP) - RL-Library

Mountain Car 3D (CPP)

From RL-Library

Jump to: navigation, search
3D Mountain Car State Space Illustration



The 3D Mountain Car task extends the standard 2D task. It was originally proposed in [1]. The state is described by four continuous variables, the positions x,y which have ranges of [-1.2, 0.6] and the velocities vx and vy which have ranges of [-0.007, 0.007]. The available actions are {Neutral, West, East, South, North}. The Neutral action has no impact on the velocity of the car. West and East actions add to vx -0.001 and 0.001 respectively while South and East add to vy -0.001 and 0.001 respectively. Additionally, to simulate the effect of gravity a factor of -0.0025*cos(3x) and -0.0025*cos(3y) is added, at each time step, to vx and vy respectively. In the standard task each episode starts with the car at the bottom of the hill and the goal state is reached when x >= 0.5 and y >= 0.5. At each time step the agent receives a reward of -1.

Technical Details

Observation Space

4 dimensional, continuous valued

 car position on x-axis (-1.2 to 0.6)
 car position on y-axis (-1.2 to 0.6)
 car velocity on x-axis (-0.07 to 0.07)
 car velocity on y-axis (-0.07 to 0.07)

Action Space

1 dimensional, discrete valued

 Neutral, West, East, North, South

Additional technical details

[1] Matthew E. Taylor, Gregory Kuhlmann, and Peter Stone. Autonomous transfer for reinforcement Learning. In The Seventh International Joint Conference on Autonomous Agents and Multiagent Systems, 2008.

Other Details

  • Languages:C++


mountaincar-3d-cpp-R1319.tar.gz (Details)

Current Maintainer

Personal tools