sinergym.simulators.base.BaseSimulator

class sinergym.simulators.base.BaseSimulator

Abstract class for defining a simulation engine.

__init__()

Class constructor.

Methods

__init__()

Class constructor.

receive_observation()

Method for reading an observation from the simulator.

send_action(action)

Send a control action to the simulator.

start_simulation()

Start a new simulation.

stop_simulation()

Stop the current simulation.

receive_observation() bool

Method for reading an observation from the simulator.

send_action(action: int | ndarray) bool

Send a control action to the simulator.

start_simulation() bool

Start a new simulation.

stop_simulation() bool

Stop the current simulation.