|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.TaskClarion
tasksimulators.newsimu.AGL.TaskClarionAGL
Field Summary |
Fields inherited from class clarion.system.TaskClarion |
ACS, ACS_CL, ACS_GAUGE, ACS_IN_DIM, ACS_IN_VAL, ACS_LEARN, ACS_OUT_DIM, ACS_OUT_VAL, ACS_PARAM, ACS_PERFORM, ACS_REASON, ACS_SAMPLE_NUM, AMN_PASS, ASSOC_APP, ASSOC_WGT_C, ASSOC_WGT_R, AT_TL, BL_RT, BUR, CHUNK_RETR, DATA_TYPE, DRIVE, DRV_REP, DT_TL, ELIG, EX_CHUNK, EX_RULE, FR_ACT, FR_CON, FR_UTL, FR_WGT_C, FR_WGT_R, global, GOAL, GOAL_DIM, GOAL_SETTING, IRL_IG, IRL_PARAM, IRL_POS, IRL_UTL, IRL_WGT_C, IRL_WGT_R, MCS, MCS_SAMPLE_NUM, NACS, NACS_GAUGE, NACS_IN_DIM, NACS_IN_VAL, NACS_LEARN, NACS_OUT_DIM, NACS_OUT_VAL, NACS_PARAM, NACS_PERFORM, NACS_REASON, NACS_SAMPLE_NUM, OVER_RT, PT_TL, REIN, REIN_FUNC, RER_IG, RER_POS, RER_UTL, RER_WGT_C, RER_WGT_R, RT, RT_SAMPLE_NUM, SIM, SUB_SYS_NUM, TDG, TL_RT |
Constructor Summary | |
TaskClarionAGL()
|
Method Summary | |
void |
combineByBottomUpRectification()
Performs the Bottom-Up Rectification combination. |
void |
combineByTopDownGuidance()
Performs the Top-down Guidance combination. |
double |
decideFrAction(int groupIdx,
int netIdx,
int setIdx,
Feature[] sensoryInput,
GoalChunk gsItem,
Chunk[] wmItems,
short[][][] suggestedAction)
Decides action by a Fixed Rule. |
short[][][] |
getFrAction(int groupIdx,
int netIdx,
int ruleIdx)
Returns FR actions. |
short[][] |
getFrCondition(int groupIdx,
int netIdx,
int ruleIdx)
Returns a FR condition. |
java.lang.Object[] |
getNacsResults()
Gets the NACS retrieval results. |
double |
getReinforcement(int netIdx,
Feature[] input,
Chunk[] wmItems,
GoalChunk goalItem,
short[][][] action,
Feature[] newInput,
Chunk[] newWmItems,
GoalChunk newGoalItem)
Returns the reinforcement of the specified ACS network. |
void |
performEncodeExternalKnowledge(short[][] action)
Perform the process of encoding external knowledge. |
void |
performNacsAssimilation(short[][] action)
Performs the process of assimilation in NACS. |
void |
resetNacsResults()
Reset the NACS result buffer. |
void |
resetTotSearchNum()
Reset the search number in the searching process. |
void |
setAmns()
Set the AMN networks. |
void |
setBeginFeatures(Feature[][] features)
Sets the features as begin tag of reasoning. |
void |
setGks()
Set the GKS. |
void |
setLearningType(int type)
Set the learning type. |
void |
setTestSample(Feature[] curNacsInput)
Sets the sample for testing NACS. |
void |
setTrainSample(Feature[] curNacsInput)
Sets the sample for training NACS. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskClarionAGL()
Method Detail |
public java.lang.Object[] getNacsResults()
getNacsResults
in class TaskClarion
public void resetNacsResults()
public void setGks()
public void setAmns()
public void setLearningType(int type)
public void resetTotSearchNum()
public void setTrainSample(Feature[] curNacsInput)
curNacsInput
- the sample for training.public void setTestSample(Feature[] curNacsInput)
curNacsInput
- the sample for testing.public void setBeginFeatures(Feature[][] features)
features
- the features to set as begin tags.public double getReinforcement(int netIdx, Feature[] input, Chunk[] wmItems, GoalChunk goalItem, short[][][] action, Feature[] newInput, Chunk[] newWmItems, GoalChunk newGoalItem)
getReinforcement
in class TaskClarion
netIdx
- the network NO.input
- current input,action
- current action.newInput
- new input resulting from firing the action.
public short[][] getFrCondition(int groupIdx, int netIdx, int ruleIdx)
getFrCondition
in class TaskClarion
groupIdx
- agent group index.netIdx
- ACS network index.ruleIdx
- rule index.
public short[][][] getFrAction(int groupIdx, int netIdx, int ruleIdx)
getFrAction
in class TaskClarion
groupIdx
- learniing group the agent is in.netIdx
- the net index.ruleIdx
- the rule index.
public double decideFrAction(int groupIdx, int netIdx, int setIdx, Feature[] sensoryInput, GoalChunk gsItem, Chunk[] wmItems, short[][][] suggestedAction)
decideFrAction
in class TaskClarion
groupIdx
- learniing group the agent is in.netIdx
- the net index.setIdx
- the rule set index.sensoryInput
- current sensory input.gsItem
- the top goal item.wmItems
- current WM content.
public void performEncodeExternalKnowledge(short[][] action)
performEncodeExternalKnowledge
in class TaskClarion
action
- current action.public void performNacsAssimilation(short[][] action)
performNacsAssimilation
in class TaskClarion
public void combineByBottomUpRectification()
combineByBottomUpRectification
in class TaskClarion
public void combineByTopDownGuidance()
combineByTopDownGuidance
in class TaskClarion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |