public abstract class AbstractRandomJSONConformance<A extends net.automatalib.ts.acceptors.DeterministicAcceptorTS<?,JSONSymbol>> extends AbstractJSONConformance<A> implements de.learnlib.api.oracle.EquivalenceOracle<A,JSONSymbol,Boolean>
It generates a fixed number of JSON documents (up to the fixed maximal depth) and checks whether the hypothesis and the classical validator agrees on their validity.
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| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRandomJSONConformance(int numberTests,
boolean canGenerateInvalid,
int maxProperties,
int maxItems,
be.ac.umons.jsonschematools.JSONSchema schema,
Random random,
boolean shuffleKeys,
net.automatalib.words.Alphabet<JSONSymbol> alphabet) |
| Modifier and Type | Method and Description |
|---|---|
protected de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> |
findCounterExample(A hypothesis,
int maxDocumentDepth) |
canGenerateInvalid, checkDocument, checkWord, generateGibberish, getAlphabet, getMaxItems, getMaxProperties, getRandom, getSchema, numberTests, shouldShuffleKeysprotected AbstractRandomJSONConformance(int numberTests,
boolean canGenerateInvalid,
int maxProperties,
int maxItems,
be.ac.umons.jsonschematools.JSONSchema schema,
Random random,
boolean shuffleKeys,
net.automatalib.words.Alphabet<JSONSymbol> alphabet)
protected de.learnlib.api.query.DefaultQuery<JSONSymbol,Boolean> findCounterExample(A hypothesis, int maxDocumentDepth)
Copyright © 2022. All rights reserved.