public abstract class TransitionSystem extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ActionContainer[] |
actionContainers |
protected ActionContainer[] |
arcLabelActionContainers |
static java.util.regex.Pattern |
decisionSettingsSplitPattern |
protected ActionContainer |
transActionContainer |
protected TransitionTableHandler |
transitionTableHandler |
| Constructor and Description |
|---|
TransitionSystem(PropagationManager _propagationManager) |
public static final java.util.regex.Pattern decisionSettingsSplitPattern
protected final TransitionTableHandler transitionTableHandler
protected ActionContainer[] actionContainers
protected ActionContainer transActionContainer
protected ActionContainer[] arcLabelActionContainers
public TransitionSystem(PropagationManager _propagationManager) throws MaltChainedException
MaltChainedExceptionpublic abstract void apply(GuideUserAction currentAction, ParserConfiguration config) throws MaltChainedException
MaltChainedExceptionpublic abstract boolean permissible(GuideUserAction currentAction, ParserConfiguration config) throws MaltChainedException
MaltChainedExceptionpublic abstract GuideUserAction getDeterministicAction(GuideUserHistory history, ParserConfiguration config) throws MaltChainedException
MaltChainedExceptionprotected abstract void addAvailableTransitionToTable(TransitionTable ttable) throws MaltChainedException
MaltChainedExceptionprotected abstract void initWithDefaultTransitions(GuideUserHistory history) throws MaltChainedException
MaltChainedExceptionpublic abstract java.lang.String getName()
public abstract GuideUserAction defaultAction(GuideUserHistory history, ParserConfiguration configuration) throws MaltChainedException
MaltChainedExceptionprotected GuideUserAction updateActionContainers(GuideUserHistory history, int transition, LabelSet arcLabels) throws MaltChainedException
MaltChainedExceptionprotected boolean isActionContainersLabeled()
protected void addEdgeLabels(Edge e) throws MaltChainedException
MaltChainedExceptionpublic void initTransitionSystem(GuideUserHistory history) throws MaltChainedException
MaltChainedExceptionpublic void initTableHandlers(java.lang.String decisionSettings, SymbolTableHandler symbolTableHandler) throws MaltChainedException
MaltChainedExceptionpublic void initTableHandlers(java.lang.String[] decisionElements, java.lang.String decisionSettings, SymbolTableHandler symbolTableHandler) throws MaltChainedException
MaltChainedExceptionpublic void copyAction(GuideUserAction source, GuideUserAction target) throws MaltChainedException
MaltChainedExceptionpublic HashMap<java.lang.String,TableHandler> getTableHandlers()
public java.lang.String getActionString(GuideUserAction action) throws MaltChainedException
MaltChainedExceptionCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.