|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.common.GeneralNetComp
clarion.acs.net.AcsNetComp
clarion.acs.net.auxiliary.TLRuleSet
clarion.acs.net.RerRuleSet
Field Summary | |
protected java.util.TreeMap |
matchAllRuleSet
match-all rules. |
protected int |
mergePerSteps
merge frequency. |
protected double |
P_re
probability of rule extraction. |
protected java.util.HashSet |
ruleLink
link used for managing the rule set. |
protected double |
threshold1
generalization threshold. |
protected double |
threshold2
specalizaiton threshold. |
protected int |
timeSteps
steps since the last app of the rule. |
Fields inherited from class clarion.acs.net.auxiliary.TLRuleSet |
actionBLAoption, actionUsageInfoTM, activationList, ALL, c20, episodeLength, exState, genMode, gsState, MATCH_BOTH, MATCH_CONDITION, MAX_AGE, partialMatchFlag, recommendRule, recommendRules, RULE_NUM, ruleList, ruleMatchNum, ruleReps, ruleType, ruleUtls, state, SUCC_C3, SUCC_C4, succRate, sumNM, sumPM, threshold_PM, tlResults, trialIdx, UTL_FLAG, wmState |
Fields inherited from class clarion.acs.net.AcsNetComp |
acsAction, CONTROL_OUTPUT_DIM_NUM, CONTROL_OUTPUT_NUM, controlOutputDVs, controlOutputOffsets, FULL_CONTROL_OUTPUT_DIM_NUM, FULL_CONTROL_OUTPUT_NUM, fullControlOutputDVs, fullControlOutputOffsets, fullSuggestedAction, netType, outputFormatDimNums, outputFormatDimValNums |
Fields inherited from class clarion.common.GeneralNetComp |
actionDecider, chosenAction, currentTime, FULL_OUTPUT_DIM_NUM, FULL_OUTPUT_NUM, fullOutputDVs, fullOutputOffsets, global, INPUT_DIM_NUM, INPUT_NUM, inputDVs, inputOffsets, netIdx, OUTPUT_DIM_NUM, OUTPUT_NUM, outputActivations, outputDVs, outputOffsets, responseTime, subsysIdx, suggestedAction, taskClarion, temperature |
Constructor Summary | |
RerRuleSet(int subsysIdx,
int netIdx,
Global global)
constructor. |
Method Summary | |
java.lang.String |
getActiveRules()
Returns the active RER rules in terms of string. |
double |
getNM()
Returns the number of negative matches. |
double |
getPM()
Returns the number of positive matches. |
java.lang.String[] |
getRules()
Returns the RER rules in terms of strings. |
void |
reasoning()
The reasoning routine. |
java.lang.String |
toString()
methods from class Object |
void |
update(boolean successFlag)
Updates current RER rule set at each trial with flag indicating current step is successful or not. |
Methods inherited from class clarion.acs.net.auxiliary.TLRuleSet |
calcRT, decideAction, getAllConclusions, getAllRules, getMatchConditionRules, getMatchRules, getOutputActivations, getOutputActivations, getResponseTime, getSuccRate, setChosenAction, setCurrentTime, setStates, update, updateActionUsage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected double P_re
protected double threshold1
protected double threshold2
protected int mergePerSteps
protected int timeSteps
protected java.util.HashSet ruleLink
protected java.util.TreeMap matchAllRuleSet
Constructor Detail |
public RerRuleSet(int subsysIdx, int netIdx, Global global)
netIdx
- network index.Method Detail |
public java.lang.String[] getRules()
public java.lang.String getActiveRules()
public double getPM()
public double getNM()
public void reasoning()
public void update(boolean successFlag)
successFlag
- the flag indicating current step is successful or not.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |