MaltParser 1.0.3

org.maltparser.ml
Class KBestList

java.lang.Object
  extended by org.maltparser.ml.KBestList

public class KBestList
extends Object


Field Summary
protected  int currentItemIndex
           
protected  int k
           
protected  ArrayList<KBestItem> kBestList
           
 
Constructor Summary
KBestList()
           
KBestList(int k)
           
 
Method Summary
 void addKBestItem(int codes)
           
 void addKBestItem(int codes, double score)
           
 void clear()
           
protected  int getCurrentItemIndex()
           
 int getCurrentSize()
           
 int getK()
           
 KBestItem getNextClassCode()
           
protected  void setCurrentItemIndex(int currentItemIndex)
           
protected  void setK(int k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kBestList

protected ArrayList<KBestItem> kBestList

k

protected int k

currentItemIndex

protected int currentItemIndex
Constructor Detail

KBestList

public KBestList()

KBestList

public KBestList(int k)
Method Detail

clear

public void clear()

addKBestItem

public void addKBestItem(int codes)

addKBestItem

public void addKBestItem(int codes,
                         double score)

getNextClassCode

public KBestItem getNextClassCode()

getK

public int getK()

getCurrentSize

public int getCurrentSize()

setK

protected void setK(int k)

getCurrentItemIndex

protected int getCurrentItemIndex()

setCurrentItemIndex

protected void setCurrentItemIndex(int currentItemIndex)

MaltParser 1.0.3

Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.