Class TemporalNext<I>

java.lang.Object
net.maswag.falcaun.AbstractTemporalLogic<I>
net.maswag.falcaun.TemporalNext<I>
Type Parameters:
I - Type of the input at each step
All Implemented Interfaces:
Function<IOSignal<I>,Double>, TemporalLogic<I>
Direct Known Subclasses:
TemporalNext.LTLNext, TemporalNext.STLNext

public class TemporalNext<I> extends AbstractTemporalLogic<I>

STLNext class.

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

    • subFml

      private TemporalLogic<I> subFml
    • nullPositive

      private final boolean nullPositive
  • Constructor Details

    • TemporalNext

      TemporalNext(TemporalLogic<I> subFml, boolean nullPositive)
  • Method Details

    • apply

      public Double apply(IOSignal<I> signal)
      Evaluate the formula on the given signal and returns the robustness value.
    • 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.
      Returns:
      a RoSI object representing the range of the possible robustness values after concatenating a suffix.
    • constructSatisfyingAtomicPropositions

      public void constructSatisfyingAtomicPropositions()
    • 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.
    • getAllAPs

      public Set<String> getAllAPs()
      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