public abstract class AbstractMutableDFA<S,I> extends AbstractMutableDeterministic<S,I,S,Boolean,Void> implements MutableDFA<S,I>, DOTPlottableAutomaton<S,I,S>
STATE_PROPERTIES, TRANSITION_PROPERTIES| Constructor and Description |
|---|
AbstractMutableDFA() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Iterable<I> input) |
S |
addInitialState(boolean accepting) |
S |
addState(Boolean property) |
Boolean |
computeOutput(Iterable<I> input) |
Boolean |
computeSuffixOutput(Iterable<I> prefix,
Iterable<I> suffix) |
S |
copyTransition(S trans,
S succ) |
S |
createTransition(S successor,
Void properties) |
void |
flipAcceptance() |
Boolean |
getStateProperty(S state) |
S |
getSuccessor(S transition) |
Void |
getTransitionProperty(S transition) |
void |
setStateProperty(S state,
Boolean property) |
void |
setTransitionProperty(S transition,
Void property) |
addInitialState, addInitialState, addState, addTransition, addTransition, addTransition, addTransitions, removeAllTransitions, removeAllTransitions, removeTransition, removeTransition, setInitial, setInitial, setTransition, setTransition, setTransitions, setTransitionsiterator, size, stateIDsgetInitialStates, getInitialStates, getState, getState, getSuccessor, getSuccessor, getSuccessor, getSuccessor, getTransitions, getTransitionscreateDynamicStateMapping, createDynamicStateMapping, createStaticStateMapping, createStaticStateMapping, getStates, getStates, getSuccessors, getSuccessors, getSuccessors, getSuccessors, getSuccessors, getSuccessors, powersetView, powersetViewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStates, size, stateIDsgetTransitiongetTransitions, powersetViewgetInitialState, getState, getSuccessor, getSuccessorcreateDynamicStateMapping, createStaticStateMapping, getInitialStates, getStates, getSuccessors, getSuccessors, getSuccessorssetInitialState, setTransition, setTransitionaddState, setAcceptingisAcceptingaddInitialState, addInitialState, addState, addTransition, addTransition, addTransitions, clear, removeAllTransitions, removeAllTransitions, removeTransition, setInitial, setTransitionsgetDOTHelpergetInputAlphabetpublic AbstractMutableDFA()
public boolean accepts(Iterable<I> input)
accepts in interface AcceptorTS<S,I>public Boolean computeSuffixOutput(Iterable<I> prefix, Iterable<I> suffix)
computeSuffixOutput in interface SuffixOutput<I,Boolean>public Boolean computeOutput(Iterable<I> input)
computeOutput in interface Output<I,Boolean>public void setStateProperty(S state, Boolean property)
setStateProperty in interface MutableAutomaton<S,I,S,Boolean,Void>public void setTransitionProperty(S transition, Void property)
setTransitionProperty in interface MutableAutomaton<S,I,S,Boolean,Void>public S createTransition(S successor, Void properties)
createTransition in interface MutableAutomaton<S,I,S,Boolean,Void>public S copyTransition(S trans, S succ)
copyTransition in interface MutableAutomaton<S,I,S,Boolean,Void>public Boolean getStateProperty(S state)
getStateProperty in interface UniversalTransitionSystem<S,I,S,Boolean,Void>public Void getTransitionProperty(S transition)
getTransitionProperty in interface UniversalTransitionSystem<S,I,S,Boolean,Void>public S getSuccessor(S transition)
getSuccessor in interface TransitionSystem<S,I,S>public S addInitialState(boolean accepting)
addInitialState in interface MutableFSA<S,I>public void flipAcceptance()
flipAcceptance in interface MutableFSA<S,I>Copyright © 2013. All Rights Reserved.