M - the automaton type.I - the input type.D - the output type.@ParametersAreNonnullByDefault public class RefinementCounterLearner<M,I,D> extends Object implements StatisticLearner<M,I,D>
Counter returned by getStatisticalData() returns the same value as
Experiment.getRounds().| Modifier and Type | Class and Description |
|---|---|
static class |
RefinementCounterLearner.DFARefinementCounterLearner<I> |
static class |
RefinementCounterLearner.MealyRefinementCounterLearner<I,O> |
StatisticLearner.DFAStatisticLearner<I>, StatisticLearner.MealyStatisticLearner<I,O>LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>| Constructor and Description |
|---|
RefinementCounterLearner(String name,
LearningAlgorithm<M,I,D> learningAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
M |
getHypothesisModel() |
Counter |
getStatisticalData() |
boolean |
refineHypothesis(DefaultQuery<I,D> ceQuery) |
void |
startLearning() |
public RefinementCounterLearner(String name, LearningAlgorithm<M,I,D> learningAlgorithm)
public void startLearning()
startLearning in interface LearningAlgorithm<M,I,D>public boolean refineHypothesis(@Nonnull DefaultQuery<I,D> ceQuery)
refineHypothesis in interface LearningAlgorithm<M,I,D>@Nonnull public M getHypothesisModel()
getHypothesisModel in interface LearningAlgorithm<M,I,D>@Nonnull public Counter getStatisticalData()
getStatisticalData in interface StatisticLearner<M,I,D>Copyright © 2019. All rights reserved.