Simulator
- class enflow.models.simulator.Simulator(initial_state)[source]
Bases:
Model
,ABC
- abstract reset()[source]
Reset the simulator to the initial state or a new start state.
- Returns:
The reset state.
- abstract step(action=None) Tuple[InputSpace, dict] [source]
Update the simulator’s state based on an action.
- Parameters:
action – The action to be applied to the state.
- Returns:
A tuple containing the next state and any additional info.