org.jscience.computing.ai.casebasedreasoning
Class SimilarityCriterion

java.lang.Object
  extended by org.jscience.computing.ai.casebasedreasoning.SimilarityCriterion

public class SimilarityCriterion
extends java.lang.Object

DOCUMENT ME!


Field Summary
static int OPERATOR_AROUND
          DOCUMENT ME!
static int OPERATOR_NOT_SIMILAR
          DOCUMENT ME!
static int OPERATOR_SIMILAR
          DOCUMENT ME!
static int OPERATOR_UNKNOWN
          DOCUMENT ME!
 
Constructor Summary
protected SimilarityCriterion(java.lang.String fieldName, java.lang.String operator, java.lang.String value)
          Creates a new SimilarityCriterion object.
 
Method Summary
 java.lang.String getFieldName()
          DOCUMENT ME!
 java.lang.String getID()
          DOCUMENT ME!
 int getOperator()
          DOCUMENT ME!
 java.lang.String getOperatorAsString()
          DOCUMENT ME!
 TraitValue getValue()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATOR_UNKNOWN

public static final int OPERATOR_UNKNOWN
DOCUMENT ME!

See Also:
Constant Field Values

OPERATOR_SIMILAR

public static final int OPERATOR_SIMILAR
DOCUMENT ME!

See Also:
Constant Field Values

OPERATOR_NOT_SIMILAR

public static final int OPERATOR_NOT_SIMILAR
DOCUMENT ME!

See Also:
Constant Field Values

OPERATOR_AROUND

public static final int OPERATOR_AROUND
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SimilarityCriterion

protected SimilarityCriterion(java.lang.String fieldName,
                              java.lang.String operator,
                              java.lang.String value)
Creates a new SimilarityCriterion object.

Parameters:
fieldName - DOCUMENT ME!
operator - DOCUMENT ME!
value - DOCUMENT ME!
Method Detail

getFieldName

public java.lang.String getFieldName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getID

public java.lang.String getID()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getOperator

public int getOperator()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getOperatorAsString

public java.lang.String getOperatorAsString()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getValue

public TraitValue getValue()
DOCUMENT ME!

Returns:
DOCUMENT ME!