Class RefinementCounterLearner<M,I,D>
- java.lang.Object
-
- de.learnlib.filter.statistic.learner.RefinementCounterLearner<M,I,D>
-
- Type Parameters:
M- automaton typeI- input symbol typeD- output domain type
- All Implemented Interfaces:
LearningAlgorithm<M,I,D>,StatisticCollector,StatisticLearner<M,I,D>
- Direct Known Subclasses:
DFARefinementCounterLearner,MealyRefinementCounterLearner,MooreRefinementCounterLearner
public class RefinementCounterLearner<M,I,D> extends Object implements StatisticLearner<M,I,D>
Counts the number of hypothesis refinements.The value of the
Counterreturned bygetStatisticalData()returns the same value as Experiment.getRounds().
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.learnlib.algorithm.LearningAlgorithm
LearningAlgorithm.DFALearner<I extends Object>, LearningAlgorithm.MealyLearner<I extends Object,O extends Object>, LearningAlgorithm.MooreLearner<I extends Object,O extends Object>, LearningAlgorithm.NFALearner<I extends Object>
-
Nested classes/interfaces inherited from interface de.learnlib.statistic.StatisticLearner
StatisticLearner.DFAStatisticLearner<I extends Object>, StatisticLearner.MealyStatisticLearner<I extends Object,O extends Object>, StatisticLearner.MooreStatisticLearner<I extends Object,O extends Object>
-
-
Constructor Summary
Constructors Constructor Description RefinementCounterLearner(LearningAlgorithm<M,I,D> learningAlgorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MgetHypothesisModel()CountergetStatisticalData()booleanrefineHypothesis(DefaultQuery<I,D> ceQuery)voidstartLearning()
-
-
-
Constructor Detail
-
RefinementCounterLearner
public RefinementCounterLearner(LearningAlgorithm<M,I,D> learningAlgorithm)
-
-
Method Detail
-
startLearning
public void startLearning()
- Specified by:
startLearningin interfaceLearningAlgorithm<M,I,D>
-
refineHypothesis
public boolean refineHypothesis(DefaultQuery<I,D> ceQuery)
- Specified by:
refineHypothesisin interfaceLearningAlgorithm<M,I,D>
-
getHypothesisModel
public M getHypothesisModel()
- Specified by:
getHypothesisModelin interfaceLearningAlgorithm<M,I,D>
-
getStatisticalData
public Counter getStatisticalData()
- Specified by:
getStatisticalDatain interfaceStatisticCollector
-
-