|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.TaskAgent
tasksimulators.newsimu.AGL.AgentAGL
Field Summary |
Fields inherited from class clarion.system.TaskAgent |
activeAmnIdx, clarion, curNacsInput, curSensoryInput, desiredOutput, global, learningTestOn, nacsResults, reinforcements, taskClarion |
Constructor Summary | |
AgentAGL()
|
|
AgentAGL(Global g,
short[][][] trainSet,
short[][][] testSet)
|
Method Summary | |
short[] |
decideFrAction(int netIdx,
int setIdx,
short[] input)
|
short[] |
decideIrlAction(int netIdx,
int setIdx,
int ruleNo,
short[] input)
|
int |
determineAmnNet(int netIdx,
short[][][] action)
Determines which AMN will be used given current action. |
void |
getAccuracy(double[] arr)
Get the data of Accuracy and populate the array. |
void |
getAchievement(double[] arr)
Get the data of achievement and populate the array. |
void |
getAttempts(double[] arr)
Get the data of Attempts and populate the array. |
java.lang.String |
getCurSensoryInputLabel()
|
int |
getCurSensoryInputType()
|
void |
getEfficiency(double[] arr)
Get the data of Efficiency and populate the array. |
void |
getOutput(java.lang.Object arr)
Returns the output of current step. |
void |
getSpeed(double[] arr)
Get the data of Speed and populate the array. |
boolean |
isControlNacsAction(int netIdx,
short[] chosenAction)
|
void |
performAction(int netIdx,
short[][][] action)
perform the selected action from a particular ACS network. |
void |
reinit()
reinitialization routine. |
void |
run()
Implements the overall process of a subject during the AGL task experiment. |
void |
setGroupType(char[] groupType)
|
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 AgentAGL()
public AgentAGL(Global g, short[][][] trainSet, short[][][] testSet)
Method Detail |
public void reinit()
TaskAgent
reinit
in class TaskAgent
public boolean isControlNacsAction(int netIdx, short[] chosenAction)
public void getAchievement(double[] arr)
arr
- the array to store the data.public void getAccuracy(double[] arr)
arr
- the array to store the data.public void getEfficiency(double[] arr)
arr
- the array to store the data.public void getSpeed(double[] arr)
arr
- the array to store the data.public void getAttempts(double[] arr)
arr
- the array to store the data.public void getOutput(java.lang.Object arr)
TaskAgent
getOutput
in class TaskAgent
arr
- the array to be filled in with current output.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 setGroupType(char[] groupType)
public short[] decideIrlAction(int netIdx, int setIdx, int ruleNo, short[] input)
public short[] decideFrAction(int netIdx, int setIdx, short[] input)
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 performAction(int netIdx, short[][][] action)
performAction
in class TaskAgent
netIdx
- the ACS network indexaction
- the selected action from the specified ACS network.public void run()
run
in class TaskAgent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |