Copyright | (c) Sentenai 2017 |
---|---|
License | BSD3 |
Maintainer | sam@sentenai.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
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.
- data Action
- type Runner s a x = RunnerT s a IO x
- data State = State {}
- type Environment = EnvironmentT IO
- type EnvironmentT t = GymEnvironmentT State Action t
- runEnvironment :: Manager -> BaseUrl -> RunnerT State Action IO x
- runEnvironmentT :: MonadIO t => Manager -> BaseUrl -> RunnerT State Action t x
- runDefaultEnvironment :: RunnerT State Action IO x
- runDefaultEnvironmentT :: MonadIO t => RunnerT State Action t x
Documentation
Acrobot Actions
The Acrobot's State FIXME: keep semantics or move to a tuple?
type Environment = EnvironmentT IO Source #
Alias to EnvironmentT
in IO
type EnvironmentT t = GymEnvironmentT State Action t Source #
Alias to GymEnvironmentT
with AcrobotV1 type dependencies
runEnvironment :: Manager -> BaseUrl -> RunnerT State Action IO x Source #
Alias to runEnvironment
in IO
runEnvironmentT :: MonadIO t => Manager -> BaseUrl -> RunnerT State Action t x Source #
Alias to runEnvironmentT
runDefaultEnvironment :: RunnerT State Action IO x Source #
Alias to runDefaultEnvironment
in IO
runDefaultEnvironmentT :: MonadIO t => RunnerT State Action t x Source #
Alias to runDefaultEnvironmentT