public interface Critic
Modifier and Type | Method and Description |
---|---|
void |
addNonDomainReferencedAction(Action a)
This method allows the critic to critique actions that are not apart of the domain definition.
|
CritiqueResult |
critiqueAndUpdate(State s,
GroundedAction ga,
State sprime)
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 addNonDomainReferencedAction(Action 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(State s, GroundedAction ga, State sprime)
s
- an input statega
- an action taken in ssprime
- the state the agent transitioned to for taking action ga in state svoid resetData()