Package de.learnlib.filter.cache.sul
Class SULCaches
- java.lang.Object
-
- de.learnlib.filter.cache.sul.SULCaches
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <I,O>
SULCache<I,O>createCache(net.automatalib.alphabet.Alphabet<I> alphabet, SUL<I,O> sul)static <I,O>
SULCache<I,O>createDAGCache(net.automatalib.alphabet.Alphabet<I> alphabet, SUL<I,O> sul)static <I,O>
StateLocalInputSULCache<I,O>createStateLocalInputCache(net.automatalib.alphabet.Alphabet<I> alphabet, StateLocalInputSUL<I,O> sul)Creates aStateLocalInputSULCachefor a givenStateLocalInputSUL.static <I,O>
StateLocalInputSULCache<I,O>createStateLocalInputTreeCache(net.automatalib.alphabet.Alphabet<I> alphabet, StateLocalInputSUL<I,O> sul)Creates aStateLocalInputSULCachefor a givenStateLocalInputSUL, using a tree for internal cache organization.static <I,O>
SULCache<I,O>createTreeCache(net.automatalib.alphabet.Alphabet<I> alphabet, SUL<I,O> sul)
-
-
-
Method Detail
-
createCache
public static <I,O> SULCache<I,O> createCache(net.automatalib.alphabet.Alphabet<I> alphabet, SUL<I,O> sul)
Creates aSULCachefor a givenSUL.Note that this method does not specify the implementation to use for the cache. Currently, a DAG (
createDAGCache(net.automatalib.alphabet.Alphabet<I>, de.learnlib.sul.SUL<I, O>)) is used; however, this may change in the future.- Type Parameters:
I- input symbol typeO- output symbol type- Parameters:
alphabet- the input alphabetsul- the sul- Returns:
- a
SULCachewith a default implementation
-
createDAGCache
public static <I,O> SULCache<I,O> createDAGCache(net.automatalib.alphabet.Alphabet<I> alphabet, SUL<I,O> sul)
- Type Parameters:
I- input symbol typeO- output symbol type- Parameters:
alphabet- the input alphabetsul- the sul- Returns:
- a
SULCachewith a DAG-based implementation - See Also:
IncrementalMealyDAGBuilder
-
createTreeCache
public static <I,O> SULCache<I,O> createTreeCache(net.automatalib.alphabet.Alphabet<I> alphabet, SUL<I,O> sul)
- Type Parameters:
I- input symbol typeO- output symbol type- Parameters:
alphabet- the input alphabetsul- the sul- Returns:
- a
SULCachewith a tree-based implementation - See Also:
IncrementalMealyTreeBuilder
-
createStateLocalInputCache
public static <I,O> StateLocalInputSULCache<I,O> createStateLocalInputCache(net.automatalib.alphabet.Alphabet<I> alphabet, StateLocalInputSUL<I,O> sul)
Creates aStateLocalInputSULCachefor a givenStateLocalInputSUL.Note that this method does not specify the implementation to use for the cache. Currently, a tree (
createStateLocalInputTreeCache(net.automatalib.alphabet.Alphabet<I>, de.learnlib.sul.StateLocalInputSUL<I, O>)) is used; however, this may change in the future.- Type Parameters:
I- input symbol typeO- output symbol type- Parameters:
alphabet- the input alphabetsul- the sul- Returns:
- a
StateLocalInputSULCachewith a default implementation
-
createStateLocalInputTreeCache
public static <I,O> StateLocalInputSULCache<I,O> createStateLocalInputTreeCache(net.automatalib.alphabet.Alphabet<I> alphabet, StateLocalInputSUL<I,O> sul)
Creates aStateLocalInputSULCachefor a givenStateLocalInputSUL, using a tree for internal cache organization.- Type Parameters:
I- input symbol typeO- output symbol type- Parameters:
alphabet- the input alphabetsul- the sul- Returns:
- a
StateLocalInputSULCachewith a tree-based implementation - See Also:
IncrementalMealyTreeBuilder
-
-