java.lang.Object
net.automatalib.brics.AbstractBricsAutomaton
net.automatalib.brics.BricsDFA
- All Implemented Interfaces:
Iterable<State>,Automaton<State,,Character, State> Automaton.RegularAutomaton<State,,Character, State> DeterministicOutputAutomaton<State,,Character, State, Boolean> DeterministicSuffixOutputAutomaton<State,,Character, State, Boolean> FiniteRepresentation,InitialState<State>,InitialStates<State>,Output<Character,,Boolean> OutputAutomaton<State,,Character, State, Boolean> SuffixOutput<Character,,Boolean> DeterministicAutomaton<State,,Character, State> DeterministicAutomaton.RegularAutomaton<State,,Character, State> DFA<State,,Character> FiniteStateAcceptor<State,,Character> NFA<State,,Character> SimpleAutomaton<State,,Character> SimpleDeterministicAutomaton<State,,Character> UniversalAutomaton<State,,Character, State, Boolean, Void> UniversalAutomaton.RegularAutomaton<State,,Character, State, Boolean, Void> UniversalDeterministicAutomaton<State,,Character, State, Boolean, Void> UniversalDeterministicAutomaton.RegularAutomaton<State,,Character, State, Boolean, Void> GraphViewable,DeterministicFiniteSemantics,DeterministicSemantics,FiniteSemantics,Semantics,AcceptorTS<State,,Character> DeterministicAcceptorTS<State,,Character> DeterministicOutputTS<State,,Character, State, Boolean> DeterministicSuffixOutputTS<State,,Character, State, Boolean> OutputTS<State,,Character, State, Boolean> DeterministicTransitionSystem<State,,Character, State> SimpleDTS<State,,Character> SimpleTS<State,,Character> TransitionSystem<State,,Character, State> UniversalDTS<State,,Character, State, Boolean, Void> UniversalTransitionSystem<State,Character, State, Boolean, Void>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.automatalib.brics.AbstractBricsAutomaton
AbstractBricsAutomaton.GraphViewNested classes/interfaces inherited from interface net.automatalib.automaton.Automaton
Automaton.RegularAutomaton<S,I, T> Nested classes/interfaces inherited from interface net.automatalib.automaton.DeterministicAutomaton
DeterministicAutomaton.RegularAutomaton<S,I, T> Nested classes/interfaces inherited from interface net.automatalib.automaton.fsa.FiniteStateAcceptor
FiniteStateAcceptor.FSAGraphView<S,I, A extends FiniteStateAcceptor<S, I>> Nested classes/interfaces inherited from interface net.automatalib.automaton.UniversalAutomaton
UniversalAutomaton.RegularAutomaton<S,I, T, SP, TP> Nested classes/interfaces inherited from interface net.automatalib.automaton.UniversalDeterministicAutomaton
UniversalDeterministicAutomaton.RegularAutomaton<S,I, T, SP, TP> -
Field Summary
Fields inherited from class net.automatalib.brics.AbstractBricsAutomaton
automatonFields inherited from interface net.automatalib.automaton.fsa.FiniteStateAcceptor
STATE_PROPERTIES, TRANSITION_PROPERTIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the initial state of a transition system.getSuccessor(State state, Character input) Retrieves the successor state reachable by the given input symbol.getTransition(State state, Character input) Retrieves the transition triggered by the given input symbol.Methods inherited from class net.automatalib.brics.AbstractBricsAutomaton
getBricsAutomaton, getInitialStates, getStates, getTransitions, graphView, isAcceptingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.automatalib.ts.acceptor.AcceptorTS
computeOutput, getStateProperty, getSuccessor, getTransitionProperty, isAcceptingMethods inherited from interface net.automatalib.ts.acceptor.DeterministicAcceptorTS
accepts, computeStateOutput, computeSuffixOutput, powersetViewMethods inherited from interface net.automatalib.ts.DeterministicTransitionSystem
getSuccessors, getTransitions, powersetViewMethods inherited from interface net.automatalib.automaton.fsa.DFA
getSemantics, isAcceptingMethods inherited from interface net.automatalib.automaton.fsa.FiniteStateAcceptor
getSemantics, transitionGraphViewMethods inherited from interface net.automatalib.automaton.concept.InitialState
getInitialStatesMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.automatalib.automaton.simple.SimpleAutomaton
createDynamicStateMapping, createStaticStateMapping, getStates, iterator, size, stateIDsMethods inherited from interface net.automatalib.ts.simple.SimpleDTS
getState, getStates, getSuccessor, getSuccessorsMethods inherited from interface net.automatalib.ts.simple.SimpleTS
getSuccessorsMethods inherited from interface net.automatalib.automaton.UniversalDeterministicAutomaton
fullIntAbstraction, fullIntAbstraction, stateIntAbstractionMethods inherited from interface net.automatalib.ts.UniversalDTS
getTransitionProperty
-
Constructor Details
-
BricsDFA
Constructor. If the givenAutomatonis not deterministic, it will be automatically determinized by invokingAutomaton.determinize().Note: Brics automata may only be partially defined (especially when created from regular expressions). If you plan to use this wrapper in any structural analysis (e.g. for determining equivalence), consider using
BricsDFA(Automaton, boolean)instead.- Parameters:
automaton- the Brics automaton to wrap.
-
BricsDFA
Constructor. If the givenAutomatonis not deterministic, it will be automatically determinized by invokingAutomaton.determinize().If the parameter
totalizeis set totrue, an additional sink state will be added to the automaton and all otherwise undefined transitions will transition the automaton into the sink. Note: this mutates the originalautomaton.- Parameters:
automaton- the Brics automaton to wrap.totalize- flag, indicating whether the automaton should have a total transition function.
-
-
Method Details
-
getInitialState
Description copied from interface:InitialStateRetrieves the initial state of a transition system.- Specified by:
getInitialStatein interfaceInitialState<State>- Returns:
- the initial state
- See Also:
-
getSuccessor
Description copied from interface:SimpleDTSRetrieves the successor state reachable by the given input symbol.- Specified by:
getSuccessorin interfaceDeterministicTransitionSystem<State,Character, State> - Specified by:
getSuccessorin interfaceSimpleDTS<State,Character> - Parameters:
state- the source state.input- the input symbol.- Returns:
- the successor state reachable by the given input symbol, or
nullif no state is reachable by this symbol. - See Also:
-
getTransition
Description copied from interface:DeterministicTransitionSystemRetrieves the transition triggered by the given input symbol.- Specified by:
getTransitionin interfaceDeterministicTransitionSystem<State,Character, State> - Parameters:
state- the source state.input- the input symbol.- Returns:
- the transition triggered by the given input symbol, or
nullif no transition is triggered. - See Also:
-