de.fhdarmstadt.fbi.dtree.model
Class Classification

java.lang.Object
  extended byde.fhdarmstadt.fbi.dtree.model.Classification

public final class Classification
extends java.lang.Object

A classification enumeration for patterns and example data.


Field Summary
static Classification NEGATIVE
          A constant classification element to mark negative examples.
static Classification POSITIVE
          A constant classification element to mark positive examples.
static Classification UNKNOWN
          A constant classification element to mark unclassified examples.
 
Method Summary
 int hashCode()
          Computes a hashCode for this classification.
 java.lang.String toString()
          Returns a string represenation of this classification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POSITIVE

public static final Classification POSITIVE
A constant classification element to mark positive examples.


NEGATIVE

public static final Classification NEGATIVE
A constant classification element to mark negative examples.


UNKNOWN

public static final Classification UNKNOWN
A constant classification element to mark unclassified examples.

Method Detail

toString

public java.lang.String toString()
Returns a string represenation of this classification.

Returns:
the name of this classification.

hashCode

public int hashCode()
Computes a hashCode for this classification.

Returns:
the hashCode.