Class RuleComparator<T extends Invertable>
java.lang.Object
org.tweetyproject.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:
Comparator<InferenceRule<T>>
public class RuleComparator<T extends Invertable>
extends Object
implements Comparator<InferenceRule<T>>
- Author:
- Nils Geilen A simple comparator, that compares inference rules
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RuleComparator
Constructs a new comparator for rules- Parameters:
rules
- rules in ascending order
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T extends Invertable>
-