Package net.maswag.falcaun
Class StopDisprovedEQOracle.StaticLTLList<I>
java.lang.Object
net.maswag.falcaun.AbstractAdaptiveSTLUpdater<I>
net.maswag.falcaun.StopDisprovedEQOracle.StaticLTLList<I>
- All Implemented Interfaces:
de.learnlib.oracle.BlackBoxOracle<net.automatalib.automaton.transducer.MealyMachine<?,
,String, ?, String>, String, net.automatalib.word.Word<String>> de.learnlib.oracle.BlackBoxOracle.MealyBlackBoxOracle<String,
,String> de.learnlib.oracle.EquivalenceOracle<net.automatalib.automaton.transducer.MealyMachine<?,
,String, ?, String>, String, net.automatalib.word.Word<String>> de.learnlib.oracle.EquivalenceOracle.MealyEquivalenceOracle<String,
,String> de.learnlib.oracle.InclusionOracle<net.automatalib.automaton.transducer.MealyMachine<?,
,String, ?, String>, String, net.automatalib.word.Word<String>> de.learnlib.oracle.InclusionOracle.MealyInclusionOracle<String,
,String> AdaptiveSTLUpdater<I>
- Enclosing class:
StopDisprovedEQOracle<I,
O, C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.learnlib.oracle.BlackBoxOracle
de.learnlib.oracle.BlackBoxOracle.DFABlackBoxOracle<I>, de.learnlib.oracle.BlackBoxOracle.MealyBlackBoxOracle<I,
O> Nested classes/interfaces inherited from interface de.learnlib.oracle.EquivalenceOracle
de.learnlib.oracle.EquivalenceOracle.DFAEquivalenceOracle<I>, de.learnlib.oracle.EquivalenceOracle.MealyEquivalenceOracle<I,
O>, de.learnlib.oracle.EquivalenceOracle.MooreEquivalenceOracle<I, O> Nested classes/interfaces inherited from interface de.learnlib.oracle.InclusionOracle
de.learnlib.oracle.InclusionOracle.DFAInclusionOracle<I>, de.learnlib.oracle.InclusionOracle.MealyInclusionOracle<I,
O> -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class net.maswag.falcaun.AbstractAdaptiveSTLUpdater
EDGE_PARSER, emptinessOracle, inclusionOracle, initialized, inputAlphabet, memOracle, modelChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if all the properties are disprovedfindCounterExample
(@NotNull net.automatalib.automaton.transducer.MealyMachine<?, String, ?, String> hypothesis, @NotNull Collection<? extends String> inputs) Find a counter example using the current list of STL formulasReturns the current list of LTL formulas in the string representationprotected void
notifyFalsifiedProperty
(List<Integer> falsifiedIndices) Notify that this.getLTLProperties.get(i) is falsified by the currently learned model.void
reset()
Reset the list of the STL formulas to the initial one.int
size()
Returns the number of the current list of STL formulasstream()
Returns the current list of LTL formulas in MealyPropertyOracle in streamMethods inherited from class net.maswag.falcaun.AbstractAdaptiveSTLUpdater
addSTLProperties, addSTLProperty, getPropertyOracles, newlyFalsifiedFormula, removeSTLProperties, removeSTLProperty, setMemOracle, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.maswag.falcaun.AdaptiveSTLUpdater
getSTLProperties, list, setInputAlphabet
Methods inherited from interface de.learnlib.oracle.InclusionOracle
isCounterExample
-
Field Details
-
ltlProperties
-
disprovedIndices
-
-
Constructor Details
-
StaticLTLList
-
-
Method Details
-
getLTLProperties
Description copied from interface:AdaptiveSTLUpdater
Returns the current list of LTL formulas in the string representation -
size
public int size()Description copied from interface:AdaptiveSTLUpdater
Returns the number of the current list of STL formulas -
stream
Description copied from interface:AdaptiveSTLUpdater
Returns the current list of LTL formulas in MealyPropertyOracle in stream- Specified by:
stream
in interfaceAdaptiveSTLUpdater<I>
- Overrides:
stream
in classAbstractAdaptiveSTLUpdater<I>
-
findCounterExample
@Nullable public @Nullable de.learnlib.query.DefaultQuery<String,net.automatalib.word.Word<String>> findCounterExample(@NotNull @NotNull net.automatalib.automaton.transducer.MealyMachine<?, String, ?, String> hypothesis, @NotNull @NotNull Collection<? extends String> inputs) Find a counter example using the current list of STL formulas- Specified by:
findCounterExample
in interfacede.learnlib.oracle.EquivalenceOracle<net.automatalib.automaton.transducer.MealyMachine<?,
String, ?, String>, String, net.automatalib.word.Word<String>> - Overrides:
findCounterExample
in classAbstractAdaptiveSTLUpdater<I>
- Parameters:
hypothesis
- The Mealy machine to be verified.inputs
- The alphabet of the Mealy machine.- Returns:
- A query of counterexample if a counterexample is found. Otherwise, it returns null.
- See Also:
-
notifyFalsifiedProperty
Description copied from class:AbstractAdaptiveSTLUpdater
Notify that this.getLTLProperties.get(i) is falsified by the currently learned model.Typically, we can generate a new adaptive formula. Note: we should not remove the original formula by this.
- Overrides:
notifyFalsifiedProperty
in classAbstractAdaptiveSTLUpdater<I>
- Parameters:
falsifiedIndices
- The set of indices of the falsified LTL formulas
-
allDisproved
public boolean allDisproved()Description copied from interface:AdaptiveSTLUpdater
Returns if all the properties are disproved -
reset
public void reset()Description copied from interface:AdaptiveSTLUpdater
Reset the list of the STL formulas to the initial one.
-