Class TemporalEventually<I>

Type Parameters:
I - Type of the input at each step
All Implemented Interfaces:
Function<IOSignal<I>,Double>, TemporalLogic<I>
Direct Known Subclasses:
TemporalEventually.LTLEventually, TemporalEventually.STLEventually

public class TemporalEventually<I> extends TemporalOp<I>

STLEventually class.

Author:
Masaki Waga <masakiwaga@gmail.com>
  • Constructor Details

    • TemporalEventually

      public TemporalEventually(TemporalLogic<I> subFml)
  • Method Details

    • getRoSI

      public RoSI getRoSI(IOSignal<I> signal)
      Evaluate the formula on the given signal and returns the RoSI, i.e., the range of the possible robustness values after concatenating a suffix.
      Parameters:
      signal - The input-output signal to evaluate the formula on
      Returns:
      a RoSI object representing the range of the possible robustness values after concatenating a suffix.
    • getRoSIRaw

      public RoSI getRoSIRaw(IOSignal<I> signal)

      getRoSIRaw.

      Specified by:
      getRoSIRaw in class TemporalOp<I>
      Parameters:
      signal - a Word object.
      Returns:
      a RoSI object.
    • getRoSIRawWithLen

      public RoSI getRoSIRawWithLen(IOSignal<I> signal, int length)

      getRoSIRawLen.

      Specified by:
      getRoSIRawWithLen in class TemporalOp<I>
      Parameters:
      signal - a Word object.
      length - the length to compute the RoSI
      Returns:
      a RoSI object.
    • toString

      public String toString()
      Returns a human-readable string representation of the formula.

      The representation is unambiguous only for the formulas supported by the parsers: if a formula is structurally equal to one constructed by STLFactory or LTLFactory, its string representation is parsed back to a structurally equal formula. Otherwise, structurally different formulas may have the same string representation, e.g.:

      • empty or singleton conjunctions and disjunctions,
      • n-ary conjunctions and disjunctions, which are parsed back as left-nested binary ones,
      • the next operator, whose nullPositive flag is not printed,
      • LTL atomic propositions with both input and output symbols, which are printed like conjunctions,
      • LTL symbols outside the grammar and non-finite STL thresholds, which the parsers reject, and
      • other formulas outside the grammar, e.g., TemporalConst.

      Thus, this method must not be used as a substitute for structural equality or as a unique key, e.g., of a cache.

      Specified by:
      toString in interface TemporalLogic<I>
      Overrides:
      toString in class Object
      Returns:
      a human-readable string representation of the formula
    • toAbstractString

      public String toAbstractString()
      Returns a string representation of the formula in the format of LTSMin.
      Returns:
      a String object representing the formula in the format of LTSMin.
    • toAbstractLTLString

      public String toAbstractLTLString(Map<String,String> mapper)
    • toOwlString

      public String toOwlString()
    • getSubFml

      public TemporalLogic<I> getSubFml()

      getSubFml.

      Returns:
      a TemporalLogic<I> object.
    • toNnf

      public TemporalLogic<I> toNnf(boolean negate)
    • toDisjunctiveForm

      public TemporalLogic<I> toDisjunctiveForm()
    • getAllConjunctions

      public List<TemporalLogic<I>> getAllConjunctions()
    • structuralKind

      protected Class<?> structuralKind()
      Returns the class representing the operator of this formula, shared by its STL/LTL-specific subclasses.
      Specified by:
      structuralKind in class AbstractTemporalLogic<I>
      Returns:
      the class representing the operator of this formula, e.g., TemporalGlobally.class