A demo of Chain environment

Illustration of Chain environment

from rlberry_scool.envs.finite import Chain

env = Chain(10, 0.1)
env.enable_rendering()
for tt in range(5):
    env.step(env.action_space.sample())
env.render()
env.save_video("_video/video_plot_chain.mp4")

Total running time of the script: (0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery