base#
Classes#
- class prt_sim.jhu.base.BaseEnvironment[source]#
Defines the environment interface for JHU simulations.
- abstractmethod execute_action(action: int) Tuple[int, float, bool][source]#
Executes the agent’s action and steps the simulation.
- abstractmethod get_number_of_actions() int[source]#
Returns the number of actions in the environment.
- Returns:
number of actions
- Return type:
- abstractmethod get_number_of_states() int[source]#
Returns the number of states in the environment.
- Returns:
number of states
- Return type: