public class ScoredKBestList extends KBestList
addCandidateIndex, decision, k, kBestList, topCandidateIndex
Constructor and Description |
---|
ScoredKBestList(java.lang.Integer k,
SingleDecision action) |
ScoredKBestList(SingleDecision action) |
Modifier and Type | Method and Description |
---|---|
void |
add(int actionCode,
float score) |
void |
add(java.lang.String symbol,
float score) |
protected void |
initKBestList() |
float |
peekNextKBestScore() |
java.lang.String |
toString() |
add, add, addList, getAddCandidateIndex, getCandidate, getCurrentSize, getDecision, getK, getKBestListSize, getTopCandidateIndex, peekNextKBest, reset, setK, updateActionWithNextKBest
public ScoredKBestList(SingleDecision action)
public ScoredKBestList(java.lang.Integer k, SingleDecision action)
protected void initKBestList()
initKBestList
in class KBestList
public void add(int actionCode, float score) throws MaltChainedException
MaltChainedException
public void add(java.lang.String symbol, float score) throws MaltChainedException
MaltChainedException
public float peekNextKBestScore()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.