org.wdssii.decisiontree
Class GainRatioFitnessFunction.ValueAndCategory

java.lang.Object
  extended by org.wdssii.decisiontree.GainRatioFitnessFunction.ValueAndCategory
All Implemented Interfaces:
Comparable<GainRatioFitnessFunction.ValueAndCategory>
Enclosing class:
GainRatioFitnessFunction

private static class GainRatioFitnessFunction.ValueAndCategory
extends Object
implements Comparable<GainRatioFitnessFunction.ValueAndCategory>


Field Summary
(package private)  int category
           
(package private)  float value
           
 
Constructor Summary
GainRatioFitnessFunction.ValueAndCategory(float f, int i)
           
 
Method Summary
 int compareTo(GainRatioFitnessFunction.ValueAndCategory other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

float value

category

int category
Constructor Detail

GainRatioFitnessFunction.ValueAndCategory

public GainRatioFitnessFunction.ValueAndCategory(float f,
                                                 int i)
Method Detail

compareTo

public int compareTo(GainRatioFitnessFunction.ValueAndCategory other)
Specified by:
compareTo in interface Comparable<GainRatioFitnessFunction.ValueAndCategory>