basicgym.envs.simulator.base.BaseStateTransitionFunction#
- class basicgym.envs.simulator.base.BaseStateTransitionFunction[source]#
Base class to define the state transition function.
Imported as:
basicgym.BaseStateTransitionFunctionMethods
step(state, action)Update the state based on the presented action.
- abstract step(state, action)[source]#
Update the state based on the presented action.
- Parameters:
state (array-like of shape (state_dim, )) – Current state.
action (array-like of shape (action_dim, )) – Indicating the action chosen by the agent.
- Returns:
state – Next state.
- Return type:
array-like of shape (state_dim, )
Methods