jncc20
Class MdlDiscretizer.Pair
java.lang.Object
jncc20.MdlDiscretizer.Pair
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- MdlDiscretizer
private static class MdlDiscretizer.Pair
- extends java.lang.Object
- implements java.lang.Comparable
Helper class for MdlDiscretizer, to effectively store and access feature-class pairs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassValue
private java.lang.Integer ClassValue
FeatureValue
private java.lang.Double FeatureValue
MdlDiscretizer.Pair
MdlDiscretizer.Pair(double SuppliedFeatureValue,
int SuppliedClassValue)
compareTo
public int compareTo(java.lang.Object SecondPair)
throws java.lang.ClassCastException
- Compares two Pair objects for ordering.
- Specified by:
compareTo
in interface java.lang.Comparable
- Throws:
java.lang.ClassCastException
getClassValue
public java.lang.Integer getClassValue()
getFeatureValue
public java.lang.Double getFeatureValue()