Class
DebugEnvironment
Debug environment that produces dummy states
- edit Alexis BRENON alexis.brenon@imag.fr
Fields
keyboard_arrow_up-
boolean
terminal
Is current state terminal?
Metamethods
keyboard_arrow_up-
__init ( args )
Default constructor.
Parameters:
Public Methods
keyboard_arrow_up-
actions ()
Get the possible actions that environment accepts.
Overrides: BaseEnvironment:actions
-
table
A table of accepted actions (
{1}
)
-
table
A table of accepted actions (
-
get_observable_state ()
Returns the current visible state of the environment
Overrides: BaseEnvironment:get_observable_state
- environment.ObservableState Observable state of the environment
-
get_reward ()
Get reward obtained from the last action.
Overrides: BaseEnvironment:get_reward
-
number
A reward (
1
)
-
number
A reward (
-
get_true_action ()
Return the action index of the expected action for the current state.
Overrides: BaseEnvironment:get_true_action
-
integer
Index of the expected action (
1
)
-
integer
Index of the expected action (
-
perform_action ()
Perform an action on the world that change its internal state.
For this debug environment, just switch the terminal signal.
Overrides: BaseEnvironment:perform_action
-
self
-
-
reset ()