Package net.maswag.falcaun
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
STLNext 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.TemporalLogic
TemporalLogic.IOType, TemporalLogic.LTLFormula, TemporalLogic.STLCost -
Field Summary
FieldsFields inherited from class net.maswag.falcaun.AbstractTemporalLogic
initialized, iOType, nonTemporal, satisfyingAtomicPropositions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluate the formula on the given signal and returns the robustness value.voidReturns the collection of atomic propositions under consideration.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 string representation of the formula in the format of LTSMin.toString()Methods inherited from class net.maswag.falcaun.AbstractTemporalLogic
equals, hashCode, makeAbstractStringWithAtomicStringsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.maswag.falcaun.TemporalLogic
getIOType, getSatisfyingAtomicPropositions, isInitialized, isNonTemporal, toLTLString
-
Field Details
-
subFml
-
nullPositive
private final boolean nullPositive
-
-
Constructor Details
-
TemporalNext
TemporalNext(TemporalLogic<I> subFml, boolean nullPositive)
-
-
Method Details
-
apply
Evaluate the formula on the given signal and returns the robustness value. -
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.- Returns:
- a
RoSIobject representing the range of the possible robustness values after concatenating a suffix.
-
constructSatisfyingAtomicPropositions
public void constructSatisfyingAtomicPropositions() -
toAbstractString
Returns a string representation of the formula in the format of LTSMin.- Returns:
- a
Stringobject representing the formula in the format of LTSMin.
-
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
-