| Package | Description |
|---|---|
| net.automatalib.automata.transout | |
| net.automatalib.words |
| Modifier and Type | Method and Description |
|---|---|
default Word<O> |
TransitionOutputAutomaton.computeStateOutput(S state,
Iterable<? extends I> input) |
| Modifier and Type | Method and Description |
|---|---|
Word<I> |
Word.append(I symbol)
Appends a symbol to this word and returns the result as a new word.
|
Word<I> |
Word.canonicalNext(Alphabet<I> sigma)
Retrieves the next word after this in canonical order.
|
Word<I> |
Word.concat(Word<? extends I>... words)
Concatenates this word with several other words and returns the result as a new word.
|
protected Word<I> |
Word.concatInternal(Word<? extends I>... words)
Realizes the concatenation of this word with several other words.
|
static <I> Word<I> |
Word.epsilon()
Retrieves the empty word.
|
Word<I> |
Word.flatten()
Retrieves a "flattened" version of this word, i.e., without any hierarchical structure attached.
|
static <I> Word<I> |
Word.fromArray(I[] symbols,
int offset,
int length)
Creates a word from a subrange of an array of symbols.
|
static Word<Character> |
Word.fromCharSequence(CharSequence cs) |
static <I> Word<I> |
Word.fromLetter(I letter)
Constructs a word from a single letter.
|
static <I> Word<I> |
Word.fromList(List<? extends I> symbolList)
Creates a word from a list of symbols.
|
static Word<Character> |
Word.fromString(String str) |
static <I> Word<I> |
Word.fromSymbols(I... symbols)
Creates a word from an array of symbols.
|
static <I> Word<I> |
Word.fromWords(Collection<? extends Word<? extends I>> words) |
static <I> Word<I> |
Word.fromWords(Word<? extends I>... words) |
Word<I> |
Word.longestCommonPrefix(Word<?> other)
Determines the longest common prefix of this word and another word.
|
Word<I> |
Word.longestCommonSuffix(Word<?> other)
Determines the longest common suffix of this word and another word.
|
default Word<I> |
VPDAlphabet.longestWellMatchedPrefix(Word<I> word) |
default Word<I> |
VPDAlphabet.longestWellMatchedSuffix(Word<I> word) |
Word<I> |
Word.prefix(int prefixLen)
Retrieves a prefix of the given length.
|
Word<I> |
Word.prepend(I symbol)
Prepends a symbol to this word and returns the result as a new word.
|
Word<I> |
Word.subWord(int fromIndex)
Retrieves the subword of this word starting at the given index and extending until the end of this word.
|
Word<I> |
Word.subWord(int fromIndex,
int toIndex)
Retrieves a word representing the specified subrange of this word.
|
protected Word<I> |
Word.subWordInternal(int fromIndex,
int toIndex)
Internal subword operation implementation.
|
Word<I> |
Word.suffix(int suffixLen)
Retrieves a suffix of the given length.
|
Word<I> |
WordBuilder.toWord()
Creates a word from the contents of the internal storage.
|
Word<I> |
WordBuilder.toWord(int fromIndex,
int toIndex)
Creates a word from the given range of the contents of the internal storage.
|
<T> Word<T> |
Word.transform(Function<? super I,? extends T> transformer)
Transforms a word symbol-by-symbol, using the specified transformation function.
|
Word<I> |
Word.trimmed() |
static <I> Word<I> |
Word.upcast(Word<? extends I> word)
Performs an upcast of the generic type parameter of the word.
|
| Modifier and Type | Method and Description |
|---|---|
static <I> Comparator<Word<? extends I>> |
Word.canonicalComparator(Comparator<? super I> symComparator) |
List<Word<I>> |
Word.prefixes(boolean longestFirst)
Retrieves the list of all prefixes of this word.
|
List<Word<I>> |
Word.suffixes(boolean longestFirst)
Retrieves the list of all suffixes of this word.
|
| Modifier and Type | Method and Description |
|---|---|
WordBuilder<I> |
WordBuilder.append(Word<? extends I>... words)
Appends several words to the contents of the internal storage.
|
WordBuilder<I> |
WordBuilder.append(Word<? extends I> word)
Appends a word to the contents of the internal storage.
|
default int |
VPDAlphabet.callReturnBalance(Word<I> word) |
Word<I> |
Word.concat(Word<? extends I>... words)
Concatenates this word with several other words and returns the result as a new word.
|
protected Word<I> |
Word.concatInternal(Word<? extends I>... words)
Realizes the concatenation of this word with several other words.
|
static <I> Word<I> |
Word.fromWords(Word<? extends I>... words) |
default boolean |
VPDAlphabet.isCallMatched(Word<I> word) |
boolean |
Word.isPrefixOf(Word<?> other)
Checks if this word is a prefix of another word.
|
default boolean |
VPDAlphabet.isReturnMatched(Word<I> word) |
boolean |
Word.isSuffixOf(Word<?> other)
Checks if this word is a suffix of another word.
|
default boolean |
VPDAlphabet.isWellMatched(Word<I> word) |
Word<I> |
Word.longestCommonPrefix(Word<?> other)
Determines the longest common prefix of this word and another word.
|
Word<I> |
Word.longestCommonSuffix(Word<?> other)
Determines the longest common suffix of this word and another word.
|
default Word<I> |
VPDAlphabet.longestWellMatchedPrefix(Word<I> word) |
default Word<I> |
VPDAlphabet.longestWellMatchedSuffix(Word<I> word) |
WordBuilder<I> |
WordBuilder.repeatAppend(int num,
Word<I> word)
Appends num copies of the given word to the contents of the initial storage.
|
static <I> Word<I> |
Word.upcast(Word<? extends I> word)
Performs an upcast of the generic type parameter of the word.
|
| Modifier and Type | Method and Description |
|---|---|
static <I> Word<I> |
Word.fromWords(Collection<? extends Word<? extends I>> words) |
| Constructor and Description |
|---|
WordBuilder(int capacity,
Word<I> init)
Constructor.
|
WordBuilder(Word<I> init)
Constructor.
|
Copyright © 2018. All rights reserved.