Class AttributeComparator
java.lang.Object
adaa.analytics.rules.logic.induction.AttributeComparator
- All Implemented Interfaces:
Comparator<IAttribute>
Auxilliary class that compares attributes w.r.t. their ordering in the dataset.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(IAttribute a, IAttribute b) Compares two attributes w.r.t.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AttributeComparator
public AttributeComparator()
-
-
Method Details
-
compare
Compares two attributes w.r.t. their ordering in the dataset.- Specified by:
comparein interfaceComparator<IAttribute>- Parameters:
a- First attribute.b- Second attribute.- Returns:
- Comparison result.
-