Package net.maswag.falcaun.temporal
Class TemporalEventually<I>
java.lang.Object
net.maswag.falcaun.temporal.AbstractTemporalLogic<I>
net.maswag.falcaun.temporal.TemporalOp<I>
net.maswag.falcaun.temporal.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
STLEventually class.
- Author:
- Masaki Waga <masakiwaga@gmail.com>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static classNested classes/interfaces inherited from interface net.maswag.falcaun.temporal.TemporalLogic
TemporalLogic.IOType, TemporalLogic.LTLFormula, TemporalLogic.STLCost -
Field Summary
Fields inherited from class net.maswag.falcaun.temporal.TemporalOp
subFmlFields inherited from class net.maswag.falcaun.temporal.AbstractTemporalLogic
initialized, iOType, nonTemporal, satisfyingAtomicPropositions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluate the formula on the given signal and returns the RoSI, i.e., the range of the possible robustness values after concatenating a suffix.getRoSIRaw(IOSignal<I> signal) getRoSIRaw.getRoSIRawWithLen(IOSignal<I> signal, int length) getRoSIRawLen.getSubFml.protected Class<?> Returns the class representing the operator of this formula, shared by its STL/LTL-specific subclasses.toAbstractLTLString(Map<String, String> mapper) Returns a string representation of the formula in the format of LTSMin.toNnf(boolean negate) toString()Returns a human-readable string representation of the formula.Methods inherited from class net.maswag.falcaun.temporal.TemporalOp
constructSatisfyingAtomicPropositions, getAllAPs, structuralFieldsMethods inherited from class net.maswag.falcaun.temporal.AbstractTemporalLogic
equals, getSatisfyingAtomicPropositions, hashCode, makeAbstractStringWithAtomicStrings, makeAbstractStringWithAtomicStrings, parenthesizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.maswag.falcaun.temporal.TemporalLogic
apply, getIOType, isInitialized, isNonTemporal, toLTLString
-
Constructor Details
-
TemporalEventually
-
-
Method Details
-
getRoSI
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
RoSIobject representing the range of the possible robustness values after concatenating a suffix.
-
getRoSIRaw
getRoSIRaw.
- Specified by:
getRoSIRawin classTemporalOp<I>- Parameters:
signal- aWordobject.- Returns:
- a RoSI object.
-
getRoSIRawWithLen
getRoSIRawLen.
- Specified by:
getRoSIRawWithLenin classTemporalOp<I>- Parameters:
signal- aWordobject.length- the length to compute the RoSI- Returns:
- a RoSI object.
-
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
STLFactoryorLTLFactory, 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
nullPositiveflag 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:
toStringin interfaceTemporalLogic<I>- Overrides:
toStringin classObject- Returns:
- a human-readable string representation of the formula
-
toAbstractString
Returns a string representation of the formula in the format of LTSMin.- Returns:
- a
Stringobject representing the formula in the format of LTSMin.
-
toAbstractLTLString
-
toOwlString
-
getSubFml
getSubFml.
- Returns:
- a
TemporalLogic<I>object.
-
toNnf
-
toDisjunctiveForm
-
getAllConjunctions
-
structuralKind
Returns the class representing the operator of this formula, shared by its STL/LTL-specific subclasses.- Specified by:
structuralKindin classAbstractTemporalLogic<I>- Returns:
- the class representing the operator of this formula, e.g.,
TemporalGlobally.class
-