Package de.learnlib.testsupport
Class AbstractVisualizationTest<L extends LearningAlgorithm<? extends MealyMachine<?,ExampleCoffeeMachine.Input,?,String>,ExampleCoffeeMachine.Input,Word<String>>>
- java.lang.Object
-
- de.learnlib.testsupport.AbstractVisualizationTest<L>
-
- Type Parameters:
L
- type of the learner
public abstract class AbstractVisualizationTest<L extends LearningAlgorithm<? extends MealyMachine<?,ExampleCoffeeMachine.Input,?,String>,ExampleCoffeeMachine.Input,Word<String>>> extends Object
Abstract class for tests that check the visualization of hypotheses or other internal data structure. This class' constructor runs a simple learning setup (cf.ExampleCoffeeMachine
) to initialize the provided learner instance.
-
-
Constructor Summary
Constructors Constructor Description AbstractVisualizationTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract L
getLearnerBuilder(Alphabet<ExampleCoffeeMachine.Input> alphabet, SUL<ExampleCoffeeMachine.Input,String> sul)
protected String
resourceAsString(String resourceName)
-
-
-
Field Detail
-
learner
protected final L extends LearningAlgorithm<? extends MealyMachine<?,ExampleCoffeeMachine.Input,?,String>,ExampleCoffeeMachine.Input,Word<String>> learner
-
-
Method Detail
-
resourceAsString
protected String resourceAsString(String resourceName) throws IOException
- Throws:
IOException
-
getLearnerBuilder
protected abstract L getLearnerBuilder(@UnderInitialization AbstractVisualizationTest<L extends LearningAlgorithm<? extends MealyMachine<?,ExampleCoffeeMachine.Input,?,String>,ExampleCoffeeMachine.Input,Word<String>>> this, Alphabet<ExampleCoffeeMachine.Input> alphabet, SUL<ExampleCoffeeMachine.Input,String> sul)
-
-