Class TemporalSub<I>

java.lang.Object
net.maswag.falcaun.AbstractTemporalLogic<I>
net.maswag.falcaun.TemporalSub<I>
All Implemented Interfaces:
Function<IOSignal<I>,Double>, TemporalLogic<I>
Direct Known Subclasses:
TemporalSub.LTLSub, TemporalSub.STLSub

public class TemporalSub<I> extends AbstractTemporalLogic<I>
  • Field Details

    • subFml

      private final TemporalOp<I> subFml
    • from

      private final int from
    • to

      private final int to
  • Constructor Details

    • TemporalSub

      TemporalSub(TemporalOp<I> subFml, int from, int to)
      Parameters:
      subFml - the subformula
      from - the first index, inclusive
      to - the last index, inclusive.
  • Method Details

    • getRoSI

      public RoSI getRoSI(IOSignal<I> 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.
      Returns:
      a RoSI object representing the range of the possible robustness values after concatenating a suffix.
    • 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.
    • toString

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

      public void constructSatisfyingAtomicPropositions()
    • toAbstractString

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