org.drools.conflict
Class SimplicityConflictResolver
java.lang.Object
org.drools.conflict.AbstractConflictResolver
org.drools.conflict.SimplicityConflictResolver
- All Implemented Interfaces:
- Comparator, ConflictResolver, Serializable
- public class SimplicityConflictResolver
- extends AbstractConflictResolver
ConflictResolver
that uses the numConditions of rules to
resolve conflict.
- Version:
- $Id: SimplicityConflictResolver.java,v 1.9 2004/11/13 01:43:07 simon
Exp $
- Author:
- bob mcwhirter , Simon Harris
- See Also:
getInstance()
,
Rule.getConditionSize()
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplicityConflictResolver
public SimplicityConflictResolver()
- Construct.
getInstance
public static ConflictResolver getInstance()
- Retrieve the singleton instance.
- Returns:
- The singleton instance.
compare
public int compare(Activation lhs,
Activation rhs)
- See Also:
ConflictResolver
Copyright © 2001-2004 The Codehaus. All Rights Reserved.