Interface ATManager<I,O>
- Type Parameters:
I- input symbol typeO- output symbol type
- All Known Implementing Classes:
DefaultATManager,OptimizingATManager
public interface ATManager<I,O>
A manager of access sequences and terminating sequences of
SPMMs during the learning process.-
Method Summary
Modifier and TypeMethodDescriptiongetAccessSequence(I procedure) Returns an access sequence for the given procedure.getTerminatingSequence(I procedure) Returns a terminating sequence for the given procedure.scanCounterexample(DefaultQuery<I, Word<O>> counterexample) Extracts from a positive counterexample (potentially new) access sequences and terminating sequences.scanProcedures(Map<I, ? extends MealyMachine<?, SymbolWrapper<I>, ?, O>> procedures, Map<I, ? extends AccessSequenceTransformer<SymbolWrapper<I>>> providers, Collection<SymbolWrapper<I>> inputs) Scans a set of (hypothesis) procedures in order to potentially extract new access sequences and terminating sequences.
-
Method Details
-
getAccessSequence
Returns an access sequence for the given procedure.- Parameters:
procedure- the call symbol that identifies the procedure- Returns:
- the access sequence for the given procedure
-
getTerminatingSequence
Returns a terminating sequence for the given procedure.- Parameters:
procedure- the call symbol that identifies the procedure- Returns:
- the terminating sequence for the given procedure
-
scanCounterexample
Extracts from a positive counterexample (potentially new) access sequences and terminating sequences. -
scanProcedures
Set<I> scanProcedures(Map<I, ? extends MealyMachine<?, SymbolWrapper<I>, ?, O>> procedures, Map<I, ? extends AccessSequenceTransformer<SymbolWrapper<I>>> providers, Collection<SymbolWrapper<I>> inputs) Scans a set of (hypothesis) procedures in order to potentially extract new access sequences and terminating sequences.- Parameters:
procedures- aMapfrom call symbols to the respective procedural (hypothesis) modelsproviders- aMapfrom call symbols toAccessSequenceTransformersinputs- aCollectionof input symbols which should be used for finding new access sequences, terminating sequences, and return sequences- Returns:
- a
Setof procedures (identified by their respective call symbols) for which terminating sequences could be extracted and for which previously no such sequences were available.
-