The gym-rs crate is a pure rust implementation of OpenAI’s Gym
Description: A pole is attached by an un-actuated joint to a cart, which moves along a frictionless track. The pendulum starts upright, and the goal is to prevent it from falling over by increasing and reducing the cart’s velocity.
Viewer is used for rendering the state of an environment
Description: The agent (a car) is started at the bottom of a valley. For any given state, the agent may choose to accelerate to the left, right or cease any acceleration.
Description: The inverted pendulum swingup problem is a classic problem in the control literature. In this version of the problem, the pendulum starts in a random position, and the goal is to swing it up so it stays upright.
Defines the type of action to take in the environment
The trait which defines the needed methods an environment needs to provide
scales a value from one range to another range generic over all float type such as f32 or f64