Package de.learnlib.oracle.membership
Class SULOracle<I,O>
- java.lang.Object
-
- de.learnlib.oracle.membership.SULOracle<I,O>
-
- All Implemented Interfaces:
MembershipOracle<I,Word<O>>
,MembershipOracle.MealyMembershipOracle<I,O>
,BatchProcessor<Query<I,Word<O>>>
,QueryAnswerer<I,Word<O>>
public class SULOracle<I,O> extends Object implements MembershipOracle.MealyMembershipOracle<I,O>
A wrapper around a system under learning (SUL).This membership oracle is not thread-safe.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.learnlib.oracle.MembershipOracle
MembershipOracle.DFAMembershipOracle<I>, MembershipOracle.MealyMembershipOracle<I,O>, MembershipOracle.MooreMembershipOracle<I,O>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Word<O>
answerQuery(Word<I> prefix, Word<I> suffix)
void
processQueries(Collection<? extends Query<I,Word<O>>> queries)
Processes the specified collection of queries.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.learnlib.oracle.MembershipOracle
answerQuery, asOracle, processBatch, processQuery
-
-
-
-
Method Detail
-
processQueries
public void processQueries(Collection<? extends Query<I,Word<O>>> queries)
Description copied from interface:MembershipOracle
Processes the specified collection of queries. When this method returns, each of the contained queriesQuery.answer(Object)
method should have been called with an argument reflecting the SUL response to the respective query.- Specified by:
processQueries
in interfaceMembershipOracle<I,O>
- Parameters:
queries
- the queries to process- See Also:
Query.answer(Object)
-
answerQuery
public Word<O> answerQuery(Word<I> prefix, Word<I> suffix)
- Specified by:
answerQuery
in interfaceMembershipOracle<I,O>
- Specified by:
answerQuery
in interfaceQueryAnswerer<I,O>
-
-