hhreco.recognition
Class Recognition

java.lang.Object
  extended byhhreco.recognition.Recognition

public class Recognition
extends java.lang.Object

An interpretation of a stroke or a set of strokes as a data/confidence pair.


Constructor Summary
Recognition(TypedData data, double confidence)
          Construct a new recognition using the given data and confidence.
 
Method Summary
 double getConfidence()
          Return the confidence of this recognition.
 TypedData getData()
          Return the data of this recognition.
 Type getType()
          Return the type of this recognition.
 java.lang.String toString()
          Print the contents of this recognition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Recognition

public Recognition(TypedData data,
                   double confidence)
Construct a new recognition using the given data and confidence.

Method Detail

getConfidence

public double getConfidence()
Return the confidence of this recognition.


getType

public Type getType()
Return the type of this recognition.


getData

public TypedData getData()
Return the data of this recognition.


toString

public java.lang.String toString()
Print the contents of this recognition.