|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.acs.net.auxiliary.TLRule
clarion.acs.net.IrlRule
Field Summary | |
protected double |
c5
parameters for computing Information Gain. |
protected double |
c6
parameters for computing Information Gain. |
protected int |
groupId
the group the agent is in, decide which IRL subset is used. |
protected IrlRuleForm |
ruleForm
the IRL rule form. |
protected int |
ruleIdx
the rule index. |
protected double |
threshold4
threshold for deletion. |
protected double |
threshold6
threshold for generalization. |
protected double |
threshold7
threshold for specialization. |
Fields inherited from class clarion.acs.net.auxiliary.TLRule |
attributes, blaOption, conditions, CONTROL_OUTPUT_DIM_NUM, CONTROL_OUTPUT_NUM, controlOutputDVs, controlOutputOffsets, DIFF_DIM_IDX, DISCOUNT, global, INPUT_DIM_NUM, INPUT_NUM, inputConditions, inputDVs, inputOffsets, netIdx, OUTPUT_DIM_NUM, OUTPUT_NUM, outputDVs, outputOffsets, partialMatchFlag, ruleCost, ruleSupport, ruleType, setIdx, subsysIdx, suggestedAction, taskClarion |
Constructor Summary | |
IrlRule(int groupIdx,
int subsysIdx,
int netIdx,
int setIdx,
int ruleIdx,
Global global)
constructor. |
Method Summary | |
boolean |
canGeneralize()
Returns if this rule can be generalized. |
boolean |
canSpecialize()
Returns if this rule can be specialized. |
boolean |
decideAction(short[] state,
short[] exState,
short[] gsState,
short[] wmState)
Decides the action. |
void |
generalize()
the generalization routine. |
boolean |
isUseless()
Return if the rule is useles or not. |
void |
specialize()
the specialization routine. |
java.lang.String |
toString()
methods from class Object |
Methods inherited from class clarion.acs.net.auxiliary.TLRule |
aging, calcBLA, calcRT, calcTLDT, convertToInputConditions, cover, discountStatistics, getAction, getActionChunk, getAge, getCondition, getCondition, getNM, getPM, getResponseTime, getRuleSupport, getUtility, isActionMatched, isConditionMatched, resetStatistics, setAge, setAttributes, setCondition, setNM, setPM, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int groupId
protected int ruleIdx
protected double c5
protected double c6
protected double threshold4
protected double threshold6
protected double threshold7
protected IrlRuleForm ruleForm
Constructor Detail |
public IrlRule(int groupIdx, int subsysIdx, int netIdx, int setIdx, int ruleIdx, Global global)
groupIdx
- the index to the group the associated agent is in.netIdx
- the network index.setIdx
- the rule subset index to the rule set.ruleIdx
- the rule index to the rule subset.global
- the associated global settings.Method Detail |
public boolean isUseless()
public boolean decideAction(short[] state, short[] exState, short[] gsState, short[] wmState)
decideAction
in class TLRule
state
- curent state.exState
- external state.gsState
- goal structure state.wmState
- working memory state.
public boolean canGeneralize()
public boolean canSpecialize()
public void generalize()
public void specialize()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |