Module de.learnlib.filter.cache
Package de.learnlib.filter.cache.sul
Class ThreadSafeStateLocalInputSULCache<I,O>
java.lang.Object
de.learnlib.filter.cache.sul.StateLocalInputSULCache<I,O>
de.learnlib.filter.cache.sul.ThreadSafeStateLocalInputSULCache<I,O>
- Type Parameters:
I- input symbol typeO- output symbol type
- All Implemented Interfaces:
LearningCache<MealyMachine<?,,I, ?, O>, I, Word<O>> LearningCache.MealyLearningCache<I,,O> Resumable<StateLocalInputSULCache.StateLocalInputSULCacheState<I,,O>> StateLocalInputSUL<I,,O> SUL<I,,O> SupportsGrowingAlphabet<I>
A thread-safe variant of
StateLocalInputSULCache.-
Nested Class Summary
Nested classes/interfaces inherited from class de.learnlib.filter.cache.sul.StateLocalInputSULCache
StateLocalInputSULCache.StateLocalInputSULCacheState<I,O> Nested classes/interfaces inherited from interface de.learnlib.filter.cache.LearningCache
LearningCache.DFALearningCache<I>, LearningCache.MealyLearningCache<I,O>, LearningCache.MMLTLearningCache<I, O>, LearningCache.MooreLearningCache<I, O> -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlphabetSymbol(I symbol) booleancanFork()Returns whether this SUL is capable offorking.Creates a cache consistency test.voidpost()shut down SUL.voidpre()setup SUL.voidResume the data structure from a previously suspended point in time.make one step on the SUL.suspend()Expose the state object.Methods inherited from class de.learnlib.filter.cache.sul.StateLocalInputSULCache
currentlyEnabledInputs, fork
-
Method Details
-
pre
public void pre()Description copied from interface:SULsetup SUL. -
post
public void post()Description copied from interface:SULshut down SUL. -
step
Description copied from interface:SULmake one step on the SUL. -
canFork
public boolean canFork()Description copied from interface:SULReturns whether this SUL is capable offorking. -
createCacheConsistencyTest
Description copied from interface:LearningCacheCreates a cache consistency test. A cache consistency test is an equivalence oracle which checks a given hypothesis against the current contents of the cache. Hence, no queries are posed to the underlying system.The created cache consistency test is backed by the cache contents. This method does not need to be invoked repeatedly when the cache contents change.
- Specified by:
createCacheConsistencyTestin interfaceLearningCache<I,O, C extends de.learnlib.filter.cache.sul.AbstractSULCache.SULCacheState<I, O>> - Returns:
- a cache consistency test for the contents of this cache
-
addAlphabetSymbol
- Specified by:
addAlphabetSymbolin interfaceSupportsGrowingAlphabet<I>
-
suspend
Description copied from interface:ResumableExpose the state object. -
resume
Description copied from interface:ResumableResume the data structure from a previously suspended point in time.
-