Arcades

Class BaseEnvironment

Abstract class from which inherit to implement an environment

Inherits from:

Info:
See also:

Abstract Methods

keyboard_arrow_up
  • actions ()

    Get the possible actions that environment accepts.

    Returns:
    • table A table of accepted actions
  • get_observable_state ()

    Returns the current visible state of the environment

    Warning:
    • Do two calls to this function return same values (stochastic or not?)
    Returns:
  • get_reward ()

    Get reward obtained from the last action.

    Returns:
  • get_true_action ()

    Return the action index of the expected action for the current state.

    Returns:
    • integer Index of the expected action
  • perform_action ( action_index )

    Perform an action on the world that change its internal state.

    Parameters:
    • integer action_index
      The index of the action to perform
    Returns:
    • self
  • reset ()

    (Re)Initialize the environment.

    Returns:
    • self