Package net.automatalib.alphabet
Class DefaultVPAlphabet<I>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<I>
-
- net.automatalib.alphabet.AbstractAlphabet<I>
-
- net.automatalib.alphabet.AbstractVPAlphabet<I>
-
- net.automatalib.alphabet.DefaultVPAlphabet<I>
-
- All Implemented Interfaces:
Iterable<I>
,Collection<I>
,Comparator<I>
,IntFunction<I>
,ToIntFunction<I>
,List<I>
,Alphabet<I>
,VPAlphabet<I>
,ArrayWritable<I>
- Direct Known Subclasses:
DefaultProceduralInputAlphabet
public class DefaultVPAlphabet<I> extends AbstractVPAlphabet<I> implements VPAlphabet<I>
An alphabet-based, fixed size implementation of aVPAlphabet
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.automatalib.alphabet.VPAlphabet
VPAlphabet.SymbolType
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description DefaultVPAlphabet(Collection<I> internalSymbols, Collection<I> callSymbols, Collection<I> returnSymbols)
DefaultVPAlphabet(Alphabet<I> internalAlphabet, Alphabet<I> callAlphabet, Alphabet<I> returnAlphabet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I
getSymbol(int index)
Returns the symbol with the given index in this alphabet.-
Methods inherited from class net.automatalib.alphabet.AbstractVPAlphabet
containsSymbol, getCallAlphabet, getCallSymbol, getCallSymbolIndex, getInternalAlphabet, getInternalSymbol, getInternalSymbolIndex, getNumCalls, getNumInternals, getNumReturns, getReturnAlphabet, getReturnSymbol, getReturnSymbolIndex, getSymbolIndex, getSymbolType, isCallSymbol, isInternalSymbol, isReturnSymbol, size
-
Methods inherited from class net.automatalib.alphabet.AbstractAlphabet
get, reversed
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.automatalib.alphabet.Alphabet
apply, applyAsInt, compare, containsSymbol, getSymbolIndex, translateFrom, writeToArray
-
Methods inherited from interface net.automatalib.common.smartcollection.ArrayWritable
size
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Methods inherited from interface net.automatalib.alphabet.VPAlphabet
callReturnBalance, getCallAlphabet, getCallSymbol, getCallSymbolIndex, getInternalAlphabet, getInternalSymbol, getInternalSymbolIndex, getNumCalls, getNumInternals, getNumReturns, getReturnAlphabet, getReturnSymbol, getReturnSymbolIndex, getSymbolType, isCallMatched, isCallSymbol, isInternalSymbol, isReturnMatched, isReturnSymbol, isWellMatched, longestWellMatchedPrefix, longestWellMatchedSuffix
-
-
-
-
Constructor Detail
-
DefaultVPAlphabet
public DefaultVPAlphabet(Collection<I> internalSymbols, Collection<I> callSymbols, Collection<I> returnSymbols)
-
-