public interface IVPDAJSONEquivalenceOracle extends de.learnlib.api.oracle.EquivalenceOracle<net.automatalib.automata.vpda.OneSEVPA<?,JSONSymbol>,JSONSymbol,Boolean>
Modifier and Type | Interface and Description |
---|---|
static class |
IVPDAJSONEquivalenceOracle.CounterexampleWithRelations<L>
The
ReachabilityRelation and OnAcceptingPathRelation computed
to construct a key graph, and a counterexample. |
de.learnlib.api.oracle.EquivalenceOracle.DFAEquivalenceOracle<I>, de.learnlib.api.oracle.EquivalenceOracle.MealyEquivalenceOracle<I,O>, de.learnlib.api.oracle.EquivalenceOracle.RestrictedAutomatonEquivalenceOracle<I>, de.learnlib.api.oracle.EquivalenceOracle.ROCAEquivalenceOracle<I>, de.learnlib.api.oracle.EquivalenceOracle.VCAEquivalenceOracle<I>
Modifier and Type | Method and Description |
---|---|
default <L1,L2> IVPDAJSONEquivalenceOracle.CounterexampleWithRelations<L2> |
counterexampleAndRelationFromKeyGraph(net.automatalib.automata.vpda.OneSEVPA<L1,JSONSymbol> previousHypothesis,
ReachabilityRelation<L1> previousReachabilityRelation,
OnAcceptingPathRelation<L1> previousOnAcceptingPathRelation,
net.automatalib.automata.vpda.OneSEVPA<L2,JSONSymbol> currentHypothesis)
Constructs the key graph for the hypothesis by reusing information computed
at the previous equivalence query and, if it is invalid, provides a
counterexample.
|
default <L> IVPDAJSONEquivalenceOracle.CounterexampleWithRelations<L> |
counterexampleAndRelationFromKeyGraph(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> hypo)
Constructs the key graph for the hypothesis and, if it is invalid, provides a
counterexample.
|
default <L> de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> |
counterexampleByLoopingOverInitial(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> hypo,
Random random)
If there is a loop over the initial location reading an internal symbol, we
can construct a counterexample by concatenating the symbol with a word that
is accepted by the hypothesis.
|
default <L> de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> |
counterexampleFromKeyGraph(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> hypo)
Constructs the key graph for the hypothesis and, if it is invalid, provides a
counterexample.
|
@Nullable default <L> de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> counterexampleByLoopingOverInitial(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> hypo, Random random)
Since the resulting word starts by a symbol that is not {, it must actually be rejected.
L
- Location typehypo
- The hypothesisrandom
- The random generator@Nullable default <L> de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> counterexampleFromKeyGraph(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> hypo)
L
- Location typehypo
- The hypothesisKeyGraph.getWitnessInvalid()
default <L> IVPDAJSONEquivalenceOracle.CounterexampleWithRelations<L> counterexampleAndRelationFromKeyGraph(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> hypo)
L
- Location typehypo
- The hypothesisKeyGraph.getWitnessInvalid()
default <L1,L2> IVPDAJSONEquivalenceOracle.CounterexampleWithRelations<L2> counterexampleAndRelationFromKeyGraph(net.automatalib.automata.vpda.OneSEVPA<L1,JSONSymbol> previousHypothesis, ReachabilityRelation<L1> previousReachabilityRelation, OnAcceptingPathRelation<L1> previousOnAcceptingPathRelation, net.automatalib.automata.vpda.OneSEVPA<L2,JSONSymbol> currentHypothesis)
L1
- Previous hypothesis location typeL2
- Current hypothesis location typepreviousHypothesis
- The previous hypothesispreviousReachabilityRelation
- The reachability relation for the
previous hypothesispreviousOnAcceptingPathRelation
- The Z_A relation for the previous
hypothesiscurrentHypothesis
- The current hypothesisCopyright © 2022. All rights reserved.