a2rl.SimulatorWrapper.action#

SimulatorWrapper.action(action)[source]#

Convert gym-style actions to their respective Whatif actions.

Parameters:

action (ndarray | list[int]) – gym-style actions. Each action must be an integer in [0, actions_count).

Return type:

list[str]