Package de.learnlib.testsupport
Class AbstractResumableLearnerTest<L extends Resumable<T> & LearningAlgorithm<M,I,D>,M extends UniversalDeterministicAutomaton<?,I,?,?,?>,OR,I,D,T>
- java.lang.Object
-
- de.learnlib.testsupport.AbstractResumableLearnerTest<L,M,OR,I,D,T>
-
- Type Parameters:
L
- learner typeM
- hypothesis typeOR
- membership oracle typeI
- input symbol typeD
- output domain typeT
- state type
- Direct Known Subclasses:
AbstractResumableLearnerDFATest
,AbstractResumableLearnerMealyTest
,AbstractResumableLearnerMooreTest
public abstract class AbstractResumableLearnerTest<L extends Resumable<T> & LearningAlgorithm<M,I,D>,M extends UniversalDeterministicAutomaton<?,I,?,?,?>,OR,I,D,T> extends Object
Test class that checks the workflow of a learning algorithm that implementsResumable
.
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
RANDOM_SEED
-
Constructor Summary
Constructors Constructor Description AbstractResumableLearnerTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract EquivalenceOracle<M,I,D>
getEquivalenceOracle(M target)
protected abstract Alphabet<I>
getInitialAlphabet()
protected abstract L
getLearner(OR oracle, Alphabet<I> alphabet)
protected abstract OR
getOracle(M target)
protected abstract int
getRounds()
protected abstract M
getTarget(Alphabet<I> alphabet)
void
setup()
void
testSuspendAndResumeLearner()
-
-
-
Field Detail
-
RANDOM_SEED
protected static final int RANDOM_SEED
- See Also:
- Constant Field Values
-
-
Method Detail
-
setup
@BeforeClass public void setup()
-
getEquivalenceOracle
protected abstract EquivalenceOracle<M,I,D> getEquivalenceOracle(M target)
-
getRounds
protected abstract int getRounds()
-
testSuspendAndResumeLearner
public void testSuspendAndResumeLearner()
-
-