|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.acs.net.auxiliary.ActiveRule
Field Summary | |
protected java.util.HashSet |
children
the children list of this rule. |
protected int |
netIdx
the network index. |
protected RerRule |
rule
the active rule in the format of RerRule. |
protected TaskClarion |
taskClarion
the task-specific CLARION settings. |
Constructor Summary | |
ActiveRule(RerRule rule,
int netIdx,
TaskClarion taskClarion)
constructor. |
Method Summary | |
void |
addChildren(ActiveRule activeRule)
Adds children into the children list. |
int |
cover(ActiveRule otherRule)
Checks if this rule covers the specific rule or not. |
boolean |
equals(java.lang.Object obj)
methods from class Object |
java.lang.Object[] |
getChildren()
Returns the children. |
int |
getCount()
Returns the number of children. |
double |
getNM()
Returns the negative matches of this rule. |
double |
getOverallNM()
Returns the overall positive matches based on both this rule and its children. |
double |
getOverallPM()
Returns the overall positive matches based on both this rule and its children. |
double |
getPM()
Returns the positive matches of this rule. |
RerRule |
getRule()
Return this rule. |
int |
hashCode()
methods from class Object |
RerRule[] |
removeChildren()
Removes the eligible children from the children list. |
void |
setRule(RerRule rule)
Sets a rule. |
java.lang.String |
toString()
methods from class Object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected RerRule rule
protected java.util.HashSet children
protected int netIdx
protected TaskClarion taskClarion
Constructor Detail |
public ActiveRule(RerRule rule, int netIdx, TaskClarion taskClarion)
rule
- a RER rule.taskClarion
- task-specific CLARION settings.Method Detail |
public int getCount()
public RerRule getRule()
public void setRule(RerRule rule)
public java.lang.Object[] getChildren()
public double getPM()
public double getNM()
public double getOverallPM()
public double getOverallNM()
public void addChildren(ActiveRule activeRule)
activeRule
- the children to add.public RerRule[] removeChildren()
public int cover(ActiveRule otherRule)
otherRule
- the rule to check.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |