public class VPDAJSONEquivalenceOracle extends AbstractJSONEquivalenceOracle<net.automatalib.automata.vpda.OneSEVPA<?,JSONSymbol>> implements IVPDAJSONEquivalenceOracle
AbstractJSONEquivalenceOracle
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.Alphabet<JSONSymbol> alphabet,
Collection<org.json.JSONObject> documentsToTest) |
Modifier and Type | Method and Description |
---|---|
@Nullable de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> |
findCounterExample(net.automatalib.automata.vpda.OneSEVPA<?,JSONSymbol> hypo,
Collection<? extends JSONSymbol> inputs) |
findCounterExample
findCounterExample
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.Alphabet<JSONSymbol> alphabet, Collection<org.json.JSONObject> documentsToTest)
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>
Copyright © 2022. All rights reserved.