LBJ2.classify
Class FeatureVectorReturner

java.lang.Object
  extended by LBJ2.classify.Classifier
      extended by LBJ2.classify.FeatureVectorReturner
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class FeatureVectorReturner
extends Classifier

This classifier expects FeatureVectors as input, and it simply returns them as output.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class LBJ2.classify.Classifier
containingPackage, name
 
Constructor Summary
FeatureVectorReturner()
          Default constructor.
 
Method Summary
 FeatureVector classify(java.lang.Object o)
          This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
 java.lang.String getInputType()
          Returns a string describing the input type of this classifier.
 java.lang.String getOutputType()
          Returns a string describing the output type of this classifier.
 java.lang.String toString()
          Simply returns the string "FeatureVectorReturner".
 
Methods inherited from class LBJ2.classify.Classifier
allowableValues, classify, clone, discreteValue, discreteValueArray, featureValue, getCompositeChildren, realValue, realValueArray, test, valueIndexOf
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureVectorReturner

public FeatureVectorReturner()
Default constructor.

Method Detail

classify

public FeatureVector classify(java.lang.Object o)
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.

Specified by:
classify in class Classifier
Parameters:
o - The object to make decisions about.
Returns:
A vector of Features about the input object.

getInputType

public java.lang.String getInputType()
Returns a string describing the input type of this classifier.

Overrides:
getInputType in class Classifier
Returns:
A string describing the input type of this classifier.

getOutputType

public java.lang.String getOutputType()
Returns a string describing the output type of this classifier.

Overrides:
getOutputType in class Classifier
Returns:
A string describing the output type of this classifier.

toString

public java.lang.String toString()
Simply returns the string "FeatureVectorReturner".

Overrides:
toString in class Classifier
Returns:
The name of the classifier.