@ParametersAreNonnullByDefault public abstract class AbstractBricsAutomaton extends Object implements FiniteStateAcceptor<State,Character>, GraphViewable
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBricsAutomaton.GraphView |
FiniteStateAcceptor.FSAGraphView<S,I,A extends FiniteStateAcceptor<S,I>>| Modifier and Type | Field and Description |
|---|---|
protected Automaton |
automaton |
STATE_PROPERTIES, TRANSITION_PROPERTIES| Constructor and Description |
|---|
AbstractBricsAutomaton(Automaton automaton,
boolean totalize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Automaton |
getBricsAutomaton()
Retrieves the Brics automaton object.
|
Set<State> |
getInitialStates() |
Collection<State> |
getStates() |
Collection<State> |
getTransitions(State state,
Character input) |
AbstractBricsAutomaton.GraphView |
graphView() |
boolean |
isAccepting(State state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeOutput, computeSuffixOutput, transitionGraphViewaccepts, getStateProperty, getSuccessor, getTransitionProperty, isAcceptinggetSuccessors, powersetViewcreateStaticStateMapping, iterator, size, stateIDscreateDynamicStateMapping, getStates, getSuccessors, getSuccessorsforEach, spliteratorprotected final Automaton automaton
public AbstractBricsAutomaton(Automaton automaton, boolean totalize)
automaton - the Brics automaton to wrap.totalize - flag, indicating whether the automaton should have a total transition function.Automaton.totalize()public Automaton getBricsAutomaton()
public boolean isAccepting(State state)
isAccepting in interface AcceptorTS<State,Character>public Collection<State> getTransitions(State state, @Nonnull Character input)
getTransitions in interface TransitionSystem<State,Character,State>public Set<State> getInitialStates()
getInitialStates in interface SimpleTS<State,Character>public Collection<State> getStates()
getStates in interface SimpleAutomaton<State,Character>public AbstractBricsAutomaton.GraphView graphView()
graphView in interface GraphViewableCopyright © 2019. All rights reserved.