Environment Wrappers
Wrappers provide a convenient way to alter the behavior of an environment. Wrappers.QuickWrapper
provides the simplest way to override the behavior of one or more CommonRLInterface functions. For example,
QuickWrapper(env, actions=[-1, 1])
will behave just like environment env
, except that the action space will only consist of -1
and 1
instead of the original action space of env
. The keyword arguments may be functions or static objects.
It is also possible to easily create custom wrapper types by subtyping Wrappers.AbstractWrapper
.
Missing docstring for Wrappers.QuickWrapper
. Check Documenter's build log for details.
Missing docstring for Wrappers.AbstractWrapper
. Check Documenter's build log for details.
Missing docstring for Wrappers.wrapped_env
. Check Documenter's build log for details.
Missing docstring for Wrappers.unwrapped
. Check Documenter's build log for details.