Class TemporalSub<I>

java.lang.Object
net.maswag.falcaun.parser.AbstractTemporalLogic<I>
net.maswag.falcaun.parser.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

      public 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.
      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.
    • 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.
      Returns:
      A set of all atomic propositions in the formula
    • 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.
    • toAbstractLTLString

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

      public String toOwlString()
    • toNnf

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

      public TemporalLogic<I> toDisjunctiveForm()
    • getAllConjunctions

      public List<TemporalLogic<I>> getAllConjunctions()