public class CombinedTableContainer extends TableContainer implements Table
TableContainer.RelationToNextDecision
cachedCode, cachedSymbol, name, table
Constructor and Description |
---|
CombinedTableContainer(TableHandler _tableHandler,
java.lang.String _separator,
java.util.List<TableContainer> _containers,
char decisionSeparator) |
Modifier and Type | Method and Description |
---|---|
int |
addSymbol(java.lang.String value) |
void |
clearCache() |
boolean |
containCode(int code) |
boolean |
containSymbol(java.lang.String symbol) |
int |
getCode(java.lang.String symbol) |
int |
getCombinedCode(ActionContainer[] codesToCombine,
int start) |
int |
getCombinedCode(java.util.List<ActionContainer> codesToCombine) |
java.lang.String |
getName() |
int |
getNumberContainers() |
char |
getSeparator() |
java.lang.String |
getSymbol(int code) |
java.lang.String |
getSymbolCodeToString(int code) |
int |
getSymbolStringToCode(java.lang.String symbol) |
double |
getSymbolStringToValue(java.lang.String symbol) |
protected void |
initSymbolTable() |
void |
setActionContainer(ActionContainer[] actionContainers,
int start,
int decision) |
void |
setActionContainer(java.util.List<ActionContainer> actionContainers,
int decision) |
protected void |
split() |
continueWithNextDecision, continueWithNextDecision, getRelationToNextDecision, getTable, getTableContainerName, getTableName, setName, setTable, size, toString
public CombinedTableContainer(TableHandler _tableHandler, java.lang.String _separator, java.util.List<TableContainer> _containers, char decisionSeparator) throws MaltChainedException
MaltChainedException
public void clearCache()
clearCache
in class TableContainer
public int addSymbol(java.lang.String value) throws MaltChainedException
addSymbol
in interface Table
MaltChainedException
public java.lang.String getSymbolCodeToString(int code) throws MaltChainedException
getSymbolCodeToString
in interface Table
MaltChainedException
public int getSymbolStringToCode(java.lang.String symbol) throws MaltChainedException
getSymbolStringToCode
in interface Table
MaltChainedException
public double getSymbolStringToValue(java.lang.String symbol) throws MaltChainedException
getSymbolStringToValue
in interface Table
MaltChainedException
public int getNumberContainers()
public java.lang.String getSymbol(int code) throws MaltChainedException
getSymbol
in class TableContainer
MaltChainedException
public int getCode(java.lang.String symbol) throws MaltChainedException
getCode
in class TableContainer
MaltChainedException
public boolean containCode(int code) throws MaltChainedException
containCode
in class TableContainer
MaltChainedException
public boolean containSymbol(java.lang.String symbol) throws MaltChainedException
containSymbol
in class TableContainer
MaltChainedException
public int getCombinedCode(java.util.List<ActionContainer> codesToCombine) throws MaltChainedException
MaltChainedException
public int getCombinedCode(ActionContainer[] codesToCombine, int start) throws MaltChainedException
MaltChainedException
public void setActionContainer(java.util.List<ActionContainer> actionContainers, int decision) throws MaltChainedException
MaltChainedException
public void setActionContainer(ActionContainer[] actionContainers, int start, int decision) throws MaltChainedException
MaltChainedException
protected void split() throws MaltChainedException
MaltChainedException
public char getSeparator()
protected void initSymbolTable() throws MaltChainedException
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.