Module net.automatalib.util
Class ValmariInitializers
java.lang.Object
net.automatalib.util.partitionrefinement.ValmariInitializers
Utility methods for initializing
Valmari objects from various automaton types.-
Method Summary
Modifier and TypeMethodDescriptionstatic <S,I, A extends NFA<S, I> & InputAlphabetHolder<I>>
ValmariinitializeNFA(A nfa) Initializes the partition refinement data structure using the structural information from the given NFA and its state acceptance as classifier for the initial partition.static <S,I> Valmari initializeNFA(NFA<S, I> nfa, Alphabet<I> alphabet) Initializes the partition refinement data structure using the structural information from the given NFA and its state acceptance as classifier for the initial partition.static <S,I, T> Valmari initializeUniversal(UniversalAutomaton.RegularAutomaton<S, I, T, ?, ?> automaton, Alphabet<I> alphabet, Function<? super S, ?> initialClassifier) Initializes the partition refinement data structure using the structural information from the given automaton and the given classifier for the initial partition.
-
Method Details
-
initializeNFA
Initializes the partition refinement data structure using the structural information from the given NFA and its state acceptance as classifier for the initial partition.- Type Parameters:
S- state typeI- input symbol typeA- automaton type- Parameters:
nfa- the automaton from which to extract the relational information- Returns:
- the initialized partition refinement data structure
-
initializeNFA
Initializes the partition refinement data structure using the structural information from the given NFA and its state acceptance as classifier for the initial partition.- Type Parameters:
S- state typeI- input symbol type- Parameters:
nfa- the automaton from which to extract the relational informationalphabet- the input symbols to consider- Returns:
- the initialized partition refinement data structure
-
initializeUniversal
public static <S,I, Valmari initializeUniversalT> (UniversalAutomaton.RegularAutomaton<S, I, T, ?, ?> automaton, Alphabet<I> alphabet, Function<? super S, ?> initialClassifier) Initializes the partition refinement data structure using the structural information from the given automaton and the given classifier for the initial partition.- Type Parameters:
S- state typeI- input symbol typeT- transition type- Parameters:
automaton- the automaton from which to extract the relational informationalphabet- the input symbols to considerinitialClassifier- an extractor that for each automaton state gives a signature that identifies the initial partition block- Returns:
- the initialized partition refinement data structure
-