public class SimpleDecisionAction extends java.lang.Object implements SingleDecision
| Constructor and Description |
|---|
SimpleDecisionAction(int kBestSize,
TableContainer _tableContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDecision(int code) |
void |
addDecision(java.lang.String symbol) |
void |
clear() |
boolean |
continueWithNextDecision() |
int |
getDecisionCode() |
int |
getDecisionCode(java.lang.String symbol) |
java.lang.String |
getDecisionSymbol() |
KBestList |
getKBestList() |
TableContainer.RelationToNextDecision |
getRelationToNextDecision() |
TableContainer |
getTableContainer() |
int |
numberOfDecisions() |
java.lang.String |
toString() |
boolean |
updateFromKBestList() |
public SimpleDecisionAction(int kBestSize, TableContainer _tableContainer) throws MaltChainedException
MaltChainedExceptionpublic void clear()
clear in interface ActionDecisionpublic int numberOfDecisions()
numberOfDecisions in interface GuideDecisionpublic void addDecision(int code) throws MaltChainedException
addDecision in interface SingleDecisionMaltChainedExceptionpublic void addDecision(java.lang.String symbol) throws MaltChainedException
addDecision in interface SingleDecisionMaltChainedExceptionpublic int getDecisionCode() throws MaltChainedException
getDecisionCode in interface SingleDecisionMaltChainedExceptionpublic int getDecisionCode(java.lang.String symbol) throws MaltChainedException
getDecisionCode in interface SingleDecisionMaltChainedExceptionpublic java.lang.String getDecisionSymbol() throws MaltChainedException
getDecisionSymbol in interface SingleDecisionMaltChainedExceptionpublic boolean updateFromKBestList() throws MaltChainedException
updateFromKBestList in interface SingleDecisionMaltChainedExceptionpublic boolean continueWithNextDecision() throws MaltChainedException
continueWithNextDecision in interface SingleDecisionMaltChainedExceptionpublic TableContainer getTableContainer()
getTableContainer in interface SingleDecisionpublic KBestList getKBestList() throws MaltChainedException
getKBestList in interface SingleDecisionMaltChainedExceptionpublic TableContainer.RelationToNextDecision getRelationToNextDecision()
getRelationToNextDecision in interface SingleDecisionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.