src/seals/classic_control.py
def mountain_car():
    """Fixed-length variant of MountainCar-v0.

    In the event of early episode completion (i.e., the car reaches the
    goal), we enter an absorbing state that repeats the final observation
    and returns reward 0.

    Done is always returned on timestep 200 only.
    """
    env = util.make_env_no_wrappers("MountainCar-v0")
    env = util.ObsCastWrapper(env, dtype=np.float32)
    env = util.AbsorbAfterDoneWrapper(env)
    return env
Fixed-length variant of MountainCar-v0.

    In the event of early episode completion (i.e., the car reaches the
    goal), we enter an absorbing state that repeats the final observation
    and returns reward 0.

    Done is always returned on timestep 200 only.
    
Fixed-length variant of MountainCar-v0.
In the event of early episode completion , we enter an absorbing state that repeats the final observation
and returns reward 0.

Done is always returned on timestep 200 only.
Fixed - length variant of MountainCar - v0 . In the event of early episode completion we enter an absorbing state that repeats the final observation and returns reward 0 . Done is always returned on timestep 200 only .
def mountain_car():
    env = util.make_env_no_wrappers("MountainCar-v0")
    env = util.ObsCastWrapper(env, dtype=np.float32)
    env = util.AbsorbAfterDoneWrapper(env)
    return env
def mountain_car ( ) : env = util . make_env_no_wrappers ( "MountainCar-v0" ) env = util . ObsCastWrapper ( env , dtype = np . float32 ) env = util . AbsorbAfterDoneWrapper ( env ) return env
Fixed-length variant of MountainCar-v0.
Fixed - length variant of MountainCar - v0 .
"""Fixed-length variant of MountainCar-v0.

    In the event of early episode completion (i.e., the car reaches the
    goal), we enter an absorbing state that repeats the final observation
    and returns reward 0.

    Done is always returned on timestep 200 only.
    """