struct.sequence
Class SequencePrediction

java.lang.Object
  extended by struct.sequence.SequencePrediction
All Implemented Interfaces:
Prediction

public class SequencePrediction
extends java.lang.Object
implements Prediction

Prediction for a sequence.

Version:
07/15/2006

Field Summary
private  SequenceLabel[] labels
           
 
Constructor Summary
SequencePrediction(SequenceLabel[] labels)
           
 
Method Summary
 SequenceLabel getBestLabel()
          Returns the best label according to this prediction.
 SequenceLabel getLabelByRank(int rank)
          Returns the label by rank according to this prediction.
 int getNumLabels()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

labels

private SequenceLabel[] labels
Constructor Detail

SequencePrediction

public SequencePrediction(SequenceLabel[] labels)
Method Detail

getBestLabel

public SequenceLabel getBestLabel()
Description copied from interface: Prediction
Returns the best label according to this prediction.

Specified by:
getBestLabel in interface Prediction

getLabelByRank

public SequenceLabel getLabelByRank(int rank)
Description copied from interface: Prediction
Returns the label by rank according to this prediction.

Specified by:
getLabelByRank in interface Prediction

getNumLabels

public int getNumLabels()


Copyright (C) 2006 University of Pennsylvania.