public class AttributeCR
extends java.lang.Object
implements java.lang.Comparable
This class implements the relation between an attribute and its classification rate for sorting purposes
Modifier and Type | Field and Description |
---|---|
int |
attribute
Attribute id.
|
double |
CR
Classification rate.
|
Constructor and Description |
---|
AttributeCR(int att,
double CR)
Assigns the attribute number and the CR to this object
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Implementation of the method compareTo for sorting (by CR)
|