|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.drools.conflict.AbstractConflictResolver
org.drools.conflict.ComplexityConflictResolver
public class ComplexityConflictResolver
ConflictResolver that uses the numConditions of rules to
resolve conflict.
getInstance(),
Rule.getConditionSize(),
Serialized Form| Constructor Summary | |
|---|---|
ComplexityConflictResolver()
Construct. |
|
| Method Summary | |
|---|---|
int |
compare(Activation lhs,
Activation rhs)
|
static ConflictResolver |
getInstance()
Retrieve the singleton instance. |
| Methods inherited from class org.drools.conflict.AbstractConflictResolver |
|---|
compare |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public ComplexityConflictResolver()
| Method Detail |
|---|
public static ConflictResolver getInstance()
public int compare(Activation lhs,
Activation rhs)
ConflictResolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||