cc.mallet.fst.confidence
Class PipedInstanceWithConfidence

java.lang.Object
  extended by cc.mallet.fst.confidence.PipedInstanceWithConfidence
All Implemented Interfaces:
java.lang.Comparable

public class PipedInstanceWithConfidence
extends java.lang.Object
implements java.lang.Comparable

Helper class to store confidence of an Instance.


Constructor Summary
PipedInstanceWithConfidence(Instance inst, double c, boolean correct)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean correct()
           
 double getConfidence()
           
 Instance getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipedInstanceWithConfidence

public PipedInstanceWithConfidence(Instance inst,
                                   double c,
                                   boolean correct)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getConfidence

public double getConfidence()

getInstance

public Instance getInstance()

correct

public boolean correct()