SparseEnv.get_state#

SparseEnv.get_state() ndarray#

Get the current state of the environment.

The returned state is independent of the agent’s observation_space.

Returns:

state – Current state of the environment.

Return type:

np.ndarray