public class VPDAJSONEquivalenceOracle extends AbstractJSONConformance<A> implements IVPDAJSONEquivalenceOracle
AbstractExplorationJSONConformanceVisiblyAlphabet
for VPDAs.
When performing an equivalence check, the following tests are performed, in this order:
IVPDAJSONEquivalenceOracle.counterexampleByLoopingOverInitial(OneSEVPA, Random)
IVPDAJSONEquivalenceOracle.CounterexampleWithRelations<L>
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>
MAX_NUMBER_SYMBOLS_GIBBERISH
Constructor and Description |
---|
VPDAJSONEquivalenceOracle(int numberTests,
boolean canGenerateInvalid,
int maxDocumentDepth,
int maxProperties,
int maxItems,
be.ac.umons.jsonschematools.JSONSchema schema,
Random random,
boolean shuffleKeys,
net.automatalib.words.VPDAlphabet<JSONSymbol> alphabet) |
Modifier and Type | Method and Description |
---|---|
protected @Nullable de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> |
findCounterExample(A hypothesis) |
@Nullable de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> |
findCounterExample(net.automatalib.automata.vpda.OneSEVPA<?,JSONSymbol> hypo,
Collection<? extends JSONSymbol> inputs) |
protected net.automatalib.words.Word<JSONSymbol> |
generateGibberishInternalSymbols() |
protected int |
numberGibberish() |
protected void |
setMaximalDocumentDepth(int maxDocumentDepth) |
canGenerateInvalid, checkDocument, checkWord, generateGibberish, getAlphabet, getMaxItems, getMaxProperties, getRandom, getSchema, numberTests, shouldShuffleKeys
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
counterexampleAndRelationFromKeyGraph, counterexampleAndRelationFromKeyGraph, counterexampleByLoopingOverInitial, counterexampleFromKeyGraph
public VPDAJSONEquivalenceOracle(int numberTests, boolean canGenerateInvalid, int maxDocumentDepth, int maxProperties, int maxItems, be.ac.umons.jsonschematools.JSONSchema schema, Random random, boolean shuffleKeys, net.automatalib.words.VPDAlphabet<JSONSymbol> alphabet)
public @Nullable de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> findCounterExample(net.automatalib.automata.vpda.OneSEVPA<?,JSONSymbol> hypo, Collection<? extends JSONSymbol> inputs)
findCounterExample
in interface de.learnlib.api.oracle.EquivalenceOracle<net.automatalib.automata.vpda.OneSEVPA<?,JSONSymbol>,JSONSymbol,Boolean>
protected net.automatalib.words.Word<JSONSymbol> generateGibberishInternalSymbols()
protected int numberGibberish()
protected @Nullable de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> findCounterExample(A hypothesis)
protected void setMaximalDocumentDepth(int maxDocumentDepth)
Copyright © 2022. All rights reserved.