Package de.learnlib.oracle.parallelism
Class StaticParallelOracle<I,D>
- java.lang.Object
-
- de.learnlib.oracle.parallelism.AbstractStaticBatchProcessor<Query<I,D>,MembershipOracle<I,D>>
-
- de.learnlib.oracle.parallelism.StaticParallelOracle<I,D>
-
- Type Parameters:
I
- input symbol typeD
- output domain type
- All Implemented Interfaces:
BatchProcessor<Query<I,D>>
,MembershipOracle<I,D>
,ParallelOracle<I,D>
,QueryAnswerer<I,D>
,ThreadPool
public class StaticParallelOracle<I,D> extends AbstractStaticBatchProcessor<Query<I,D>,MembershipOracle<I,D>> implements ParallelOracle<I,D>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.learnlib.oracle.MembershipOracle
MembershipOracle.DFAMembershipOracle<I>, MembershipOracle.MealyMembershipOracle<I,O>, MembershipOracle.MooreMembershipOracle<I,O>
-
Nested classes/interfaces inherited from interface de.learnlib.oracle.ThreadPool
ThreadPool.PoolPolicy
-
-
Constructor Summary
Constructors Constructor Description StaticParallelOracle(Collection<? extends MembershipOracle<I,D>> oracles, @org.checkerframework.checker.index.qual.NonNegative int minBatchSize, ExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processQueries(Collection<? extends Query<I,D>> queries)
Processes the specified collection of queries.-
Methods inherited from class de.learnlib.oracle.parallelism.AbstractStaticBatchProcessor
getProcessor, processBatch, shutdown, shutdownNow
-
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, answerQuery, asOracle, processBatch, processQuery
-
Methods inherited from interface de.learnlib.oracle.ThreadPool
shutdown, shutdownNow
-
-
-
-
Constructor Detail
-
StaticParallelOracle
public StaticParallelOracle(Collection<? extends MembershipOracle<I,D>> oracles, @org.checkerframework.checker.index.qual.NonNegative int minBatchSize, ExecutorService executorService)
-
-
Method Detail
-
processQueries
public void processQueries(Collection<? extends Query<I,D>> 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,D>
- Parameters:
queries
- the queries to process- See Also:
Query.answer(Object)
-
-