|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.TaskAgent
Field Summary | |
protected int |
activeAmnIdx
the active AMN network. |
protected Clarion |
clarion
the embedded clarion model. |
protected Feature[] |
curNacsInput
|
protected Feature[] |
curSensoryInput
|
protected Feature[][] |
desiredOutput
the desired output. |
protected Global |
global
the global settings associated with this running agent. |
protected boolean |
learningTestOn
|
protected Feature[] |
nacsResults
the retrieval results from NACS. |
protected double[] |
reinforcements
the reinforcements. |
protected TaskClarion |
taskClarion
the task-specfic option settings in CLARION model |
Constructor Summary | |
TaskAgent()
|
|
TaskAgent(Global g)
class constructor with associated Global object. |
Method Summary | |
abstract int |
determineAmnNet(int netIdx,
short[][][] action)
Determines which AMN will be used given current action. |
int |
getActiveAmnIdx()
Returns the index on the active AMN network. |
Feature[][] |
getCurDesiredOutput()
Returns current desired output. |
Feature[] |
getCurNacsInput()
Returns current input to NACS. |
Feature[] |
getCurSensoryInput()
Returns current sensory input. |
java.lang.String[] |
getFixRules(int netIdx)
Returns the FR Rules generated in the specified network in ACS. |
java.lang.String[] |
getIrlRules(int netIdx)
Returns the IRL rules generated in the specified network in ACS. |
abstract void |
getOutput(java.lang.Object arr)
Returns the output of current step. |
java.lang.String[] |
getRerRules(int netIdx)
Returns the RER rules in the foramt of string array generated in the specified network in ACS. |
boolean |
isInLearningTest()
|
void |
performAction(int netIdx,
short[][][] action)
perform the chosen action. |
void |
reinit()
reinitialization routine. |
abstract void |
run()
simulate a subject performance by step. |
void |
saveOutput(java.lang.String results)
save the current into the specified data file. |
void |
setLearningTest(boolean flag)
|
abstract void |
setRetrievalResults(int netIdx,
GKSChunk[] results)
send the retrieval results from NACS to ACS components. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Global global
protected Clarion clarion
protected TaskClarion taskClarion
protected Feature[] curSensoryInput
protected Feature[] curNacsInput
protected Feature[] nacsResults
protected Feature[][] desiredOutput
protected double[] reinforcements
protected int activeAmnIdx
protected boolean learningTestOn
Constructor Detail |
public TaskAgent()
public TaskAgent(Global g)
Method Detail |
public void reinit()
public boolean isInLearningTest()
public int getActiveAmnIdx()
public java.lang.String[] getRerRules(int netIdx)
netIdx
- the specified network in ACS.
public java.lang.String[] getIrlRules(int netIdx)
netIdx
- the specified network in ACS.
public java.lang.String[] getFixRules(int netIdx)
netIdx
- the specified network in ACS.
public Feature[] getCurSensoryInput()
public Feature[] getCurNacsInput()
public Feature[][] getCurDesiredOutput()
public void setLearningTest(boolean flag)
public void saveOutput(java.lang.String results)
public void performAction(int netIdx, short[][][] action)
netIdx
- the ACS network index.action
- the selected actions by ACS networks.public abstract void getOutput(java.lang.Object arr)
arr
- the array to be filled in with current output.public abstract int determineAmnNet(int netIdx, short[][][] action)
netIdx
- the ACS network index.action
- the selected actions by ACS networks.
public abstract void setRetrievalResults(int netIdx, GKSChunk[] results)
netIdx
- the ACS network index.results
- retrieval results from NACSpublic abstract void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |