|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--lnsc.page.AbstractAgent
Optional basis for class implementing Agent interface. Derived
classes constructor must fill the protected variables. Add necessary Agent
information and properties. In general setEvalMode should be overrided.
Agents are assumed serializable! Episode state information should be transient!
| Constructor Summary | |
AbstractAgent()
|
|
| Method Summary | |
boolean |
getEvalMode()
Indicates whether the agent is in evaluation mode. |
boolean |
isAdaptive()
Indicates whether the agent is static (never adapts, no learning) or adaptives (the agents learn). |
boolean |
isEvaluable()
Indicates whether the agent can be placed in eval mode. |
void |
setEvalMode(boolean newEvalMode)
Sets the agent in evaluation mode, that is, no training should append. |
DataSet |
toDataSet()
Similar to the toString method, but return state content in the form of a DataSet. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lnsc.page.Agent |
endEpisode, newEpisode, requestAction, returnReward |
| Constructor Detail |
public AbstractAgent()
| Method Detail |
public boolean getEvalMode()
Agent
getEvalMode in interface Agentpublic boolean isAdaptive()
Agent
isAdaptive in interface Agentpublic boolean isEvaluable()
Agent
isEvaluable in interface Agentpublic void setEvalMode(boolean newEvalMode)
Agent
setEvalMode in interface AgentnewEvalMode - true to set it into evaluation mode.
false to set it into normal possibly adaptive mode.public DataSet toDataSet()
Agent
toDataSet in interface Agent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||