Package net.maswag.falcaun
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
-
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 TypeMethodDescriptionvoidReturns 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
apply, getIOType, getSatisfyingAtomicPropositions, isInitialized, isNonTemporal, toLTLString
-
Field Details
-
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 subformulafrom- the first index, inclusiveto- the last index, inclusive.
-
-
Method Details
-
getRoSI
Description copied from interface:TemporalLogicEvaluate 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.
-
getAllAPs
Description copied from interface:TemporalLogicReturns 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
-
constructSatisfyingAtomicPropositions
public void constructSatisfyingAtomicPropositions() -
toAbstractString
Description copied from interface:TemporalLogicReturns a string representation of the formula in the format of LTSMin.- Returns:
- a
Stringobject representing the formula in the format of LTSMin.
-