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 TypeMethodDescriptionint
compare
(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, wait
Methods 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:
compare
in interfaceComparator<IAttribute>
- Parameters:
a
- First attribute.b
- Second attribute.- Returns:
- Comparison result.
-