I - input alphabet typepublic abstract class AbstractVPDALearner<I> extends Object implements LearningAlgorithm<OneSEVPA<?,I>,I,Boolean>
LearningAlgorithm.DFALearner<I>, LearningAlgorithm.MealyLearner<I,O>| Modifier and Type | Field and Description |
|---|---|
protected VPDAlphabet<I> |
alphabet |
protected DTree<I> |
dtree |
protected OneSEVPAHypothesis<I> |
hypothesis |
protected TransList<I> |
openTransitions |
protected MembershipOracle<I,Boolean> |
oracle |
| Constructor and Description |
|---|
AbstractVPDALearner(VPDAlphabet<I> alphabet,
MembershipOracle<I,Boolean> oracle) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeTransitions() |
protected HypLoc<I> |
createLocation(AbstractHypTrans<I> trans) |
OneSEVPA<?,I> |
getHypothesisModel() |
protected void |
initializeLocation(HypLoc<I> loc) |
protected static <I> void |
link(DTNode<I> leaf,
HypLoc<I> loc) |
protected HypLoc<I> |
makeTree(AbstractHypTrans<I> trans) |
protected Boolean |
query(AccessSequenceProvider<I> asp,
ContextPair<I> context) |
boolean |
refineHypothesis(DefaultQuery<I,Boolean> ceQuery) |
protected abstract boolean |
refineHypothesisSingle(DefaultQuery<I,Boolean> ceQuery) |
void |
startLearning() |
protected List<DTNode<I>> |
updateDTTargets(List<AbstractHypTrans<I>> trans,
boolean hard) |
protected final VPDAlphabet<I> alphabet
protected final MembershipOracle<I,Boolean> oracle
protected final OneSEVPAHypothesis<I> hypothesis
public AbstractVPDALearner(VPDAlphabet<I> alphabet, MembershipOracle<I,Boolean> oracle)
public void startLearning()
startLearning in interface LearningAlgorithm<OneSEVPA<?,I>,I,Boolean>public boolean refineHypothesis(DefaultQuery<I,Boolean> ceQuery)
refineHypothesis in interface LearningAlgorithm<OneSEVPA<?,I>,I,Boolean>protected abstract boolean refineHypothesisSingle(DefaultQuery<I,Boolean> ceQuery)
public OneSEVPA<?,I> getHypothesisModel()
getHypothesisModel in interface LearningAlgorithm<OneSEVPA<?,I>,I,Boolean>protected void closeTransitions()
protected List<DTNode<I>> updateDTTargets(List<AbstractHypTrans<I>> trans, boolean hard)
protected HypLoc<I> makeTree(AbstractHypTrans<I> trans)
protected HypLoc<I> createLocation(AbstractHypTrans<I> trans)
protected Boolean query(AccessSequenceProvider<I> asp, ContextPair<I> context)
Copyright © 2020. All rights reserved.