GridEngine.simulate#
- GridEngine.simulate(action: int | Action) ndarray#
Simulate the state of the environment if a given action were taken.
Does not change the actual state of the environment.
Warning
For most applications, it is not advisable to use this function for training RL agents, as it allows direct access to the dynamics of the environment.
- Parameters:
action (int |
Action) – Action to simulate.- Returns:
State of the environment after simulated action.
- Return type:
np.ndarray