Package net.sf.tweety.arg.aspic.order
Class RuleComparator<T extends Invertable>
- java.lang.Object
-
- net.sf.tweety.arg.aspic.order.RuleComparator<T>
-
- Type Parameters:
T
- is the type of the language that the ASPIC theory's rules range over
- All Implemented Interfaces:
java.util.Comparator<InferenceRule<T>>
public class RuleComparator<T extends Invertable> extends java.lang.Object implements java.util.Comparator<InferenceRule<T>>
- Author:
- Nils Geilen A simple comparator, that compares inference rules
-
-
Constructor Summary
Constructors Constructor Description RuleComparator(java.util.List<java.lang.String> rules)
Constructs a new comparator for rules
-
Method Summary
Modifier and Type Method Description int
compare(InferenceRule<T> o1, InferenceRule<T> o2)
-
-
-
Method Detail
-
compare
public int compare(InferenceRule<T> o1, InferenceRule<T> o2)
- Specified by:
compare
in interfacejava.util.Comparator<T extends Invertable>
-
-