edu.duke.cs.banjo.utility
Class NBestProcessor

java.lang.Object
  extended byedu.duke.cs.banjo.utility.NBestProcessor

public class NBestProcessor
extends java.lang.Object


Field Summary
protected  long nBestMax
           
protected  Settings settings
           
 
Constructor Summary
NBestProcessor(Settings _settingsUsedInThread)
           
 
Method Summary
 java.util.TreeSet foldIntoHighScoreSet(java.util.TreeSet _highScoreStructureSet, java.util.TreeSet _highScoreStructureSetToAdd, EquivalenceCheckerI _equivalenceChecker, int threadID)
           
 long getNBestMax()
           
protected  java.lang.StringBuffer getXMLFooter()
           
protected  java.lang.StringBuffer getXMLHeader()
           
 java.lang.StringBuffer listNBestNetworks(java.util.TreeSet _highScoreStructureSet)
           
 java.lang.StringBuffer listNBestNetworksXML(java.util.TreeSet _highScoreStructureSet)
           
 void setNBestMax(long _nBestMax)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

settings

protected Settings settings

nBestMax

protected long nBestMax
Constructor Detail

NBestProcessor

public NBestProcessor(Settings _settingsUsedInThread)
Method Detail

foldIntoHighScoreSet

public java.util.TreeSet foldIntoHighScoreSet(java.util.TreeSet _highScoreStructureSet,
                                              java.util.TreeSet _highScoreStructureSetToAdd,
                                              EquivalenceCheckerI _equivalenceChecker,
                                              int threadID)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

listNBestNetworksXML

public java.lang.StringBuffer listNBestNetworksXML(java.util.TreeSet _highScoreStructureSet)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

getXMLHeader

protected java.lang.StringBuffer getXMLHeader()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getXMLFooter

protected java.lang.StringBuffer getXMLFooter()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

listNBestNetworks

public java.lang.StringBuffer listNBestNetworks(java.util.TreeSet _highScoreStructureSet)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getNBestMax

public long getNBestMax()
Returns:
Returns the nBestMax.

setNBestMax

public void setNBestMax(long _nBestMax)
Parameters:
_nBestMax - The n-best max value to set.