Class LTLAtomic

All Implemented Interfaces:
Function<IOSignal<String>,Double>, TemporalLogic<String>, TemporalLogic.LTLFormula

public class LTLAtomic extends AbstractTemporalLogic<String> implements TemporalLogic.LTLFormula
The atomic propositions in LTL formulas
  • Field Details

  • Constructor Details

  • Method Details

    • getAllAPs

      public Set<String> getAllAPs()
      Description copied from interface: TemporalLogic
      Returns the collection of atomic propositions under consideration. If this formula contains only the input constraints, the atomic propositions are the input constraints. If this formula contains only the output constraints, the atomic propositions are the output constraints. If this formula contains both input and output constraints, the atomic propositions are one of the input and output constraints.
      Specified by:
      getAllAPs in interface TemporalLogic<String>
    • constructSatisfyingAtomicPropositions

      public void constructSatisfyingAtomicPropositions()
      Specified by:
      constructSatisfyingAtomicPropositions in interface TemporalLogic<String>
    • toAbstractString

      public String toAbstractString()
      Description copied from interface: TemporalLogic
      Returns a string representation of the formula in the format of LTSMin.
      Specified by:
      toAbstractString in interface TemporalLogic<String>
      Returns:
      a String object representing the formula in the format of LTSMin.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRoSI

      public RoSI getRoSI(IOSignal<String> signal)
      Description copied from interface: TemporalLogic
      Evaluate the formula on the given signal and returns the RoSI, i.e., the range of the possible robustness values after concatenating a suffix.
      Specified by:
      getRoSI in interface TemporalLogic<String>
      Returns:
      a RoSI object representing the range of the possible robustness values after concatenating a suffix.