public interface Critic
Modifier and Type | Method and Description |
---|---|
void |
addActionType(ActionType a)
This method allows the critic to critique actions that are not apart of the domain definition.
|
CritiqueResult |
critiqueAndUpdate(EnvironmentOutcome eo)
This method's implementation provides the critique for some specific instance of the behavior.
|
void |
endEpisode()
This method is called whenever a learning episode terminates
|
void |
initializeEpisode(State s)
This method is called whenever a new learning episode begins
|
void |
resetData()
Used to reset any data that was created/modified during learning so that learning can be begin anew.
|
void addActionType(ActionType a)
a
- a an action not apart of the of the domain definition that this critic should be able to crique.void initializeEpisode(State s)
s
- the initial state of the new learning episodevoid endEpisode()
CritiqueResult critiqueAndUpdate(EnvironmentOutcome eo)
eo
- the EnvironmentOutcome
specifying the eventvoid resetData()