This class is constructed with any gym.js Env. The methods
of the wrapper will be the same as that of the env. This
class can be used to preprocess the outputs of any of the
env methods by changing the call to the method.
example
import {Wrapper, FrozenLake} from"gym-js";
env = new Wrapper(new FrozenLake());
Wrap an Env
This class is constructed with any gym.js
Env
. The methods of the wrapper will be the same as that of the env. This class can be used to preprocess the outputs of any of the env methods by changing the call to the method.import {Wrapper, FrozenLake} from "gym-js"; env = new Wrapper(new FrozenLake());