flatland.envs.step_utils.action_saver module#

class flatland.envs.step_utils.action_saver.ActionSaver[source]#

Bases: object

clear_saved_action()[source]#
from_dict(load_dict)[source]#
property is_action_saved#
save_action_if_allowed(action, state)[source]#
Save the action if all conditions are met
  1. It is a movement based action -> Forward, Left, Right

  2. Action is not already saved

  3. Agent is not already done

to_dict()[source]#