public class SULOracle<I,O> extends Object implements MembershipOracle.MealyMembershipOracle<I,O>
This membership oracle is thread-safe. Thread-safety is obtained in either of the following ways:
SUL can be forked, each thread from which processQueries(Collection) will
maintain a thread-local fork of the SUL, which is used for processing queries.processQueries(Collection) will be
synchronized explicitly.MembershipOracle.DFAMembershipOracle<I>, MembershipOracle.MealyMembershipOracle<I,O>| Modifier and Type | Method and Description |
|---|---|
static <I,O> Word<O> |
answerQuery(SUL<I,O> sul,
Word<I> prefix,
Word<I> suffix) |
void |
processQueries(Collection<? extends Query<I,Word<O>>> queries) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanswerQuery, answerQuery, asOracle, processQuerypublic void processQueries(Collection<? extends Query<I,Word<O>>> queries)
processQueries in interface MembershipOracle<I,Word<O>>Copyright © 2020. All rights reserved.