Class
SweetHomeDataInferredSimulated
Class that generate inferred data.
Info:
- edit Alexis BRENON brenon.alexis+arcades@gmail.com
See also:
Data Types
keyboard_arrow_up-
InitArgument
__init argument.
Todo:-
Don't mix with
dump
.
-
boolean
deterministic
Is the simulation deterministic? -
number
no_action_ratio
Ratio ofno_action
overaction
states -
integer
history_length
Length of the history to simulate -
integer
max_tries
Maximum numbers of tries before simulating the next state -
environment.BaseEnvironment
environment_model
Environment to which is linked this object
-
Don't mix with
Metamethods
keyboard_arrow_up-
__init ( args )
Default constructor.
Parameters:-
InitArgument
args
-
InitArgument
Public Methods
keyboard_arrow_up-
reset ()
Reset data provider.
Returns:-
self
-
-
set_state ( command, location, activity )
-
update ( action_index )
Update provider according to the executed action.
Overrides: DataSource:update
-
integer
action_index
Index of the action executed
- `self`
-
integer
Private Methods
keyboard_arrow_up-
_build_expected_action ( command, location, activity )
-
_get_random_sample ()