@ParametersAreNonnullByDefault public abstract class AbstractLasso<I,D> extends Object implements Lasso<I,D>
Lasso.DFALasso<I>, Lasso.MealyLasso<I,O>DeterministicAutomaton.FullIntAbstraction<T>, DeterministicAutomaton.IntAbstraction<T>, DeterministicAutomaton.StateIntAbstraction<I,T>| Constructor and Description |
|---|
AbstractLasso(DetOutputAutomaton<S,I,?,D> automaton,
Collection<? extends I> inputs,
int unfoldTimes)
Constructs a finite representation of a given automaton (that contains a lasso), by unrolling the loop
unfoldTimes. |
| Modifier and Type | Method and Description |
|---|---|
DetOutputAutomaton<?,I,?,D> |
getAutomaton() |
Integer |
getInitialState() |
Alphabet<I> |
getInputAlphabet()
Gets the input alphabet of this automaton.
|
Word<I> |
getLoop() |
SortedSet<Integer> |
getLoopBeginIndices() |
D |
getOutput() |
Word<I> |
getPrefix() |
Collection<Integer> |
getStates() |
Integer |
getSuccessor(Integer state,
I input)
Get the successor state of a given state, or
null when no such successor exists. |
Integer |
getTransition(Integer state,
I input) |
int |
getUnfolds() |
Word<I> |
getWord() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeOutputfullIntAbstraction, fullIntAbstraction, stateIntAbstractiontransitionGraphViewcreateStaticStateMapping, iterator, size, stateIDsforEach, spliteratorgetSuccessors, getTransitions, transToSetgetSuccessor, powersetViewgetInitialStates, getState, getStates, getSuccessor, getSuccessors, stateToSetcreateDynamicStateMapping, getSuccessorspublic static final String NO_LASSO
public AbstractLasso(DetOutputAutomaton<S,I,?,D> automaton, Collection<? extends I> inputs, int unfoldTimes)
unfoldTimes.S - the state typeautomaton - the automaton containing the lasso.inputs - the input alphabet.unfoldTimes - the number of times the loop needs to be unrolled, must be > 0.public DetOutputAutomaton<?,I,?,D> getAutomaton()
getAutomaton in interface Lasso<I,D>public int getUnfolds()
getUnfolds in interface Lasso<I,D>public SortedSet<Integer> getLoopBeginIndices()
getLoopBeginIndices in interface Lasso<I,D>@Nullable public Integer getInitialState()
getInitialState in interface SimpleDTS<Integer,I>@Nullable public Integer getSuccessor(Integer state, @Nullable I input)
null when no such successor exists.getSuccessor in interface DeterministicTransitionSystem<Integer,I,Integer>getSuccessor in interface SimpleDTS<Integer,I>SimpleDTS.getSuccessor(Object, Object)@Nonnull public Collection<Integer> getStates()
getStates in interface SimpleAutomaton<Integer,I>@Nonnull public Alphabet<I> getInputAlphabet()
getInputAlphabet in interface InputAlphabetHolder<I>@Nullable public Integer getTransition(Integer state, @Nullable I input)
getTransition in interface DeterministicTransitionSystem<Integer,I,Integer>Copyright © 2019. All rights reserved.