sciencegym.simulations.simulation_interface module

class sciencegym.simulations.simulation_interface.SimulationInterface(*args: Any, **kwargs: Any)

Bases: Env

get_action_space() gym.spaces.Space

Return a gymnasium.spaces.Space

get_current_state() gym.spaces.Space

Returns an array representing the current status of the simulation.

get_state_space() gym.spaces.Space

Returns a gymnasium.spaces.Space containing the ranges of the state space.

reset() tuple[gym.spaces.Space, dict]

Resets the simulation to the initial conditions and returns the initial conditions of the new environment, alongside additional information.

step(action)
supports_context() list