Class StopDisprovedEQOracle.StaticLTLList<I>

java.lang.Object
net.maswag.falcaun.AbstractAdaptiveSTLUpdater<I>
net.maswag.falcaun.StopDisprovedEQOracle.StaticLTLList<I>
All Implemented Interfaces:
BlackBoxOracle<net.automatalib.automaton.transducer.MealyMachine<?,String,?,String>,String,net.automatalib.word.Word<String>>, BlackBoxOracle.MealyBlackBoxOracle<String,String>, EquivalenceOracle<net.automatalib.automaton.transducer.MealyMachine<?,String,?,String>,String,net.automatalib.word.Word<String>>, EquivalenceOracle.MealyEquivalenceOracle<String,String>, InclusionOracle<net.automatalib.automaton.transducer.MealyMachine<?,String,?,String>,String,net.automatalib.word.Word<String>>, InclusionOracle.MealyInclusionOracle<String,String>, AdaptiveSTLUpdater<I>
Enclosing class:
StopDisprovedEQOracle<I,O,C>

public static class StopDisprovedEQOracle.StaticLTLList<I> extends AbstractAdaptiveSTLUpdater<I>
  • Field Details

  • Constructor Details

    • StaticLTLList

      public StaticLTLList(List<String> ltlProperties)
  • Method Details

    • getLTLProperties

      public List<String> getLTLProperties()
      Description copied from interface: AdaptiveSTLUpdater
      Returns the current list of Linear Temporal Logic (LTL) formulas in their string representations in LTSMin's syntax.
      Returns:
      A list of LTL properties as strings
    • size

      public int size()
      Description copied from interface: AdaptiveSTLUpdater
      Returns the number of Signal Temporal Logic (STL) formulas in the current list.
      Returns:
      The number of STL formulas.
    • stream

      Description copied from class: AbstractAdaptiveSTLUpdater
      Returns a stream of property oracles used to verify the Signal Temporal Logic (STL) properties.
      Specified by:
      stream in interface AdaptiveSTLUpdater<I>
      Overrides:
      stream in class AbstractAdaptiveSTLUpdater<I>
      Returns:
      A stream of PropertyOracle.MealyPropertyOracle instances.
    • findCounterExample

      @Nullable public @Nullable 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 interface EquivalenceOracle<net.automatalib.automaton.transducer.MealyMachine<?,String,?,String>,String,net.automatalib.word.Word<String>>
      Overrides:
      findCounterExample in class AbstractAdaptiveSTLUpdater<I>
      Parameters:
      hypothesis - The Mealy machine to be verified.
      inputs - The alphabet of the Mealy machine's input symbols.
      Returns:
      A query representing a counterexample if one is found; otherwise, null.
      See Also:
    • notifyFalsifiedProperty

      protected void notifyFalsifiedProperty(List<Integer> falsifiedIndices)
      Description copied from class: AbstractAdaptiveSTLUpdater
      Notifies that the STL properties at the specified indices are falsified by the currently learned model.

      This method is called when one or more STL properties have been disproved. It allows for generating new adaptive formulas based on these falsifications. Note: The original formulas should not be removed; instead, they can be adapted or extended.

      Overrides:
      notifyFalsifiedProperty in class AbstractAdaptiveSTLUpdater<I>
      Parameters:
      falsifiedIndices - A list of indices corresponding to the falsified STL properties.
    • allDisproved

      public boolean allDisproved()
      Description copied from interface: AdaptiveSTLUpdater
      Checks if all the Signal Temporal Logic (STL) properties have been disproved.
      Returns:
      true if all STL properties have been disproved, otherwise false.
    • reset

      public void reset()
      Description copied from interface: AdaptiveSTLUpdater
      Resets the list of Signal Temporal Logic (STL) formulas to their initial state.