|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.TaskAgent
tasksimulators.newsimu.PC.AgentPC
Field Summary |
Fields inherited from class clarion.system.TaskAgent |
activeAmnIdx, clarion, curNacsInput, curSensoryInput, desiredOutput, global, learningTestOn, nacsResults, reinforcements, taskClarion |
Constructor Summary | |
AgentPC()
|
|
AgentPC(Global g)
|
Method Summary | |
int |
determineAmnNet(int netIdx,
short[][][] action)
Determines which AMN will be used given current action. |
java.lang.String |
getAemTestString()
|
java.lang.String |
getCurSensoryInputLabel()
|
int |
getCurSensoryInputType()
|
void |
getLearningTestData(int[][] arr)
|
void |
getOutput(java.lang.Object arr)
Get the output and populate the Object. |
boolean |
isControlNacsAction(int netIdx,
short[] chosenAction)
return if the specified action is NACS control action. |
void |
performAction(int netIdx,
short[][][] action)
perform the selected action from a particular ACS network. |
void |
reinit()
reinitialize the variables. |
void |
run()
Implements the overall process of a subject during the task experiment. |
void |
setPreTrainFlag(boolean flag)
|
void |
setRetrievalResults(int netIdx,
GKSChunk[] results)
send the retrieval results from NACS to ACS components. |
Methods inherited from class clarion.system.TaskAgent |
getActiveAmnIdx, getCurDesiredOutput, getCurNacsInput, getCurSensoryInput, getFixRules, getIrlRules, getRerRules, isInLearningTest, saveOutput, setLearningTest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AgentPC()
public AgentPC(Global g)
Method Detail |
public void reinit()
reinit
in class TaskAgent
public boolean isControlNacsAction(int netIdx, short[] chosenAction)
public void getOutput(java.lang.Object arr)
getOutput
in class TaskAgent
arr
- the array to be filled in with current output.public void getLearningTestData(int[][] arr)
public java.lang.String getAemTestString()
public int getCurSensoryInputType()
public java.lang.String getCurSensoryInputLabel()
public void setRetrievalResults(int netIdx, GKSChunk[] results)
TaskAgent
setRetrievalResults
in class TaskAgent
netIdx
- the ACS network index.results
- retrieval results from NACSpublic void setPreTrainFlag(boolean flag)
public int determineAmnNet(int netIdx, short[][][] action)
TaskAgent
determineAmnNet
in class TaskAgent
netIdx
- the ACS network index.action
- the selected actions by ACS networks.
public void run()
run
in class TaskAgent
public void performAction(int netIdx, short[][][] action)
performAction
in class TaskAgent
netIdx
- the ACS network indexaction
- the selected action from the specified ACS network.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |