I
- input symbol classO
- output symbol classpublic class IncrementalMealyDAGBuilder<I,O> extends AbstractIncrementalMealyBuilder<I,O>
Modifier and Type | Class and Description |
---|---|
class |
IncrementalMealyDAGBuilder.AutomatonView |
class |
IncrementalMealyDAGBuilder.GraphView |
AbstractIncrementalMealyBuilder.AbstractGraphView<I,O,N,E>
inputAlphabet
Constructor and Description |
---|
IncrementalMealyDAGBuilder(Alphabet<I> inputAlphabet)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IncrementalMealyDAGBuilder.GraphView |
asGraph()
Retrieves a graph view of the current state of the construction.
|
IncrementalMealyDAGBuilder.AutomatonView |
asTransitionSystem()
Retrieves a transition system view of the current state of the construction.
|
Word<I> |
findSeparatingWord(MealyMachine<?,I,?,O> target,
Collection<? extends I> inputs,
boolean omitUndefined)
Checks the current state of the construction against a given target model, and returns a word exposing a
difference if there is one.
|
boolean |
hasDefinitiveInformation(Word<? extends I> word)
Checks whether this class has definitive information about a given word.
|
void |
insert(Word<? extends I> word,
Word<? extends O> outputWord)
Incorporates a pair of input/output words into the stored information.
|
boolean |
isComplete(Word<? extends I> word)
Deprecated.
since 2014-01-22. Use
hasDefinitiveInformation(Word) |
boolean |
lookup(Word<? extends I> word,
List<? super O> output)
Retrieves the output word for the given input word.
|
getInputAlphabet, lookup
@Deprecated public boolean isComplete(Word<? extends I> word)
hasDefinitiveInformation(Word)
word
- the input wordpublic boolean hasDefinitiveInformation(Word<? extends I> word)
IncrementalConstruction
hasDefinitiveInformation
in interface IncrementalConstruction<MealyMachine<?,I,?,O>,I>
hasDefinitiveInformation
in class AbstractIncrementalMealyBuilder<I,O>
word
- the wordpublic boolean lookup(Word<? extends I> word, List<? super O> output)
IncrementalMealyBuilder
word
- the input wordoutput
- a consumer for constructing the output wordword.length() ==
output.size()
will hold), false otherwise.public void insert(Word<? extends I> word, Word<? extends O> outputWord)
IncrementalMealyBuilder
word
- the input wordoutputWord
- the corresponding output wordpublic IncrementalMealyDAGBuilder.GraphView asGraph()
IncrementalConstruction
public IncrementalMealyDAGBuilder.AutomatonView asTransitionSystem()
IncrementalConstruction
public Word<I> findSeparatingWord(MealyMachine<?,I,?,O> target, Collection<? extends I> inputs, boolean omitUndefined)
IncrementalConstruction
target
- the target automaton modelinputs
- the set of input symbols to consideromitUndefined
- if this is set to true, then undefined transitions in the target model will be
interpreted as "unspecified/don't know" and omitted in the equivalence test. Otherwise, they will be
interpreted in the usual manner (e.g., non-accepting sink in case of DFAs).Copyright © 2018. All rights reserved.