Copyright | (c) Sentenai 2017 |
---|---|
License | BSD3 |
Maintainer | sam@sentenai.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Shared datatypes between Gym environments and the haskell implementation of CartPole.
Documentation
The state of a cart on a pole in a CartPole environment
Cartpole can only go left or right has an action space of "discrete 2" containing {0..n-1}.
FIXME: Migrate this to either a more generic "directions" actions (would need things like "up", "down" versions as well) or a "discrete actions" version. I'm a fan of the former.