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, updateActionWithNextKBestpublic ScoredKBestList(SingleDecision action)
public ScoredKBestList(java.lang.Integer k, SingleDecision action)
protected void initKBestList()
initKBestList in class KBestListpublic void add(int actionCode, float score) throws MaltChainedException
MaltChainedExceptionpublic void add(java.lang.String symbol, float score) throws MaltChainedException
MaltChainedExceptionpublic float peekNextKBestScore()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.