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
MaltChainedException
public abstract void apply(GuideUserAction currentAction, ParserConfiguration config) throws MaltChainedException
MaltChainedException
public abstract boolean permissible(GuideUserAction currentAction, ParserConfiguration config) throws MaltChainedException
MaltChainedException
public abstract GuideUserAction getDeterministicAction(GuideUserHistory history, ParserConfiguration config) throws MaltChainedException
MaltChainedException
protected abstract void addAvailableTransitionToTable(TransitionTable ttable) throws MaltChainedException
MaltChainedException
protected abstract void initWithDefaultTransitions(GuideUserHistory history) throws MaltChainedException
MaltChainedException
public abstract java.lang.String getName()
public abstract GuideUserAction defaultAction(GuideUserHistory history, ParserConfiguration configuration) throws MaltChainedException
MaltChainedException
protected GuideUserAction updateActionContainers(GuideUserHistory history, int transition, LabelSet arcLabels) throws MaltChainedException
MaltChainedException
protected boolean isActionContainersLabeled()
protected void addEdgeLabels(Edge e) throws MaltChainedException
MaltChainedException
public void initTransitionSystem(GuideUserHistory history) throws MaltChainedException
MaltChainedException
public void initTableHandlers(java.lang.String decisionSettings, SymbolTableHandler symbolTableHandler) throws MaltChainedException
MaltChainedException
public void initTableHandlers(java.lang.String[] decisionElements, java.lang.String decisionSettings, SymbolTableHandler symbolTableHandler) throws MaltChainedException
MaltChainedException
public void copyAction(GuideUserAction source, GuideUserAction target) throws MaltChainedException
MaltChainedException
public HashMap<java.lang.String,TableHandler> getTableHandlers()
public java.lang.String getActionString(GuideUserAction action) throws MaltChainedException
MaltChainedException
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.