public class CompactDFA<I> extends AbstractCompactSimpleDeterministic<I,Boolean> implements MutableDFA<Integer,I>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompactDFA.Creator<I> |
AbstractCompact.PayloadFiniteStateAcceptor.FSAGraphView<S,I,A extends FiniteStateAcceptor<S,I>>MutableDeterministic.FullIntAbstraction<T,SP,TP>, MutableDeterministic.IntAbstraction<T,SP,TP>, MutableDeterministic.StateIntAbstraction<I,T,SP,TP>MutableDeterministic.StateIntAbstraction.DefaultAbstraction<S,I,T,SP,TP,A extends MutableDeterministic<S,I,T,SP,TP>>MutableDeterministic.FullIntAbstraction.DefaultAbstraction<I,T,SP,TP,A extends MutableDeterministic.StateIntAbstraction<I,T,SP,TP>>transitionsDEFAULT_INIT_CAPACITY, DEFAULT_RESIZE_FACTOR, INVALID_STATESTATE_PROPERTIES, TRANSITION_PROPERTIESINVALID_STATE| Modifier | Constructor and Description |
|---|---|
|
CompactDFA(Alphabet<I> alphabet) |
protected |
CompactDFA(Alphabet<I> alphabet,
CompactDFA<?> other) |
|
CompactDFA(Alphabet<I> alphabet,
float resizeFactor) |
|
CompactDFA(Alphabet<I> alphabet,
int stateCapacity) |
|
CompactDFA(Alphabet<I> alphabet,
int stateCapacity,
float resizeFactor) |
|
CompactDFA(CompactDFA<I> other) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
addState(boolean accepting) |
void |
clear() |
void |
flipAcceptance() |
Boolean |
getStateProperty(int stateId) |
boolean |
isAccepting(int stateId) |
boolean |
isAccepting(Integer state) |
void |
setAccepting(int state,
boolean accepting) |
void |
setAccepting(Integer state,
boolean accepting) |
void |
setStateProperty(int stateId,
Boolean property) |
<I2> CompactDFA<I2> |
translate(Alphabet<I2> newAlphabet) |
createTransition, getIntSuccessor, getState, getSuccessor, getTransition, getTransitionProperty, removeAllTransitions, setTransition, setTransition, setTransition, setTransitionProperty, updateTransitionStorageaddIntInitialState, createTransition, fullIntAbstraction, getInitialState, getIntInitialState, getLocalInputs, getStateProperty, getSuccessor, getTransition, getTransition, powersetView, setInitialState, setInitialState, setStateProperty, setTransition, setTransition, setTransition, stateIntAbstractionaddAlphabetSymbol, addIntState, addState, getInputAlphabet, getState, getStateId, getStates, getSymbolIndex, numInputs, size, stateIDs, toId, toMemoryIndex, toState, updateStateStorage, updateStateStorage, updateTransitionStorage, updateTransitionStorage, updateTransitionStorageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccepts, computeOutput, computeStateOutput, computeSuffixOutput, isAcceptinggetSuccessor, getSuccessors, getTransition, getTransitions, transToSetgetInitialState, getInitialStates, getState, getStates, getSuccessor, getSuccessors, stateToSettransitionGraphViewgetStateProperty, getSuccessor, getTransitionPropertypowersetViewcreateStaticStateMapping, getStates, iterator, size, stateIDscreateDynamicStateMapping, getSuccessorsforEach, spliteratoraddTransition, fullIntAbstraction, fullIntAbstraction, removeAllTransitions, removeTransition, setInitial, setInitialState, setTransition, setTransition, setTransitions, stateIntAbstractiongetTransitionPropertyaddInitialState, addInitialState, addInitialState, addState, addState, copyTransition, createTransition, setStateProperty, setTransitionPropertyaddTransition, addTransitions, removeAllTransitionsgetTransitionPropertygetSuccessoraddIntInitialState, addIntState, addIntStategetTransitionPropertygetSuccessornumInputssizetransitionGraphViewgraphViewpublic CompactDFA(CompactDFA<I> other)
protected CompactDFA(Alphabet<I> alphabet, CompactDFA<?> other)
public <I2> CompactDFA<I2> translate(Alphabet<I2> newAlphabet)
public void flipAcceptance()
flipAcceptance in interface MutableFSA<Integer,I>public void setAccepting(Integer state, boolean accepting)
setAccepting in interface MutableFSA<Integer,I>public void setAccepting(int state,
boolean accepting)
public Integer addState(boolean accepting)
addState in interface MutableFSA<Integer,I>public void clear()
public void setStateProperty(int stateId,
Boolean property)
setStateProperty in interface MutableDeterministic.IntAbstraction<Integer,Boolean,Void>setStateProperty in class AbstractCompact<I,Integer,Boolean,Void>public Boolean getStateProperty(int stateId)
getStateProperty in interface UniversalDeterministicAutomaton.IntAbstraction<Integer,Boolean,Void>public boolean isAccepting(int stateId)
public boolean isAccepting(Integer state)
isAccepting in interface AcceptorTS<Integer,I>Copyright © 2019. All rights reserved.