Package net.maswag.falcaun
Interface TemporalLogic<I>
- Type Parameters:
I- Type of the input at each step
- All Known Subinterfaces:
TemporalLogic.LTLFormula,TemporalLogic.STLCost
- All Known Implementing Classes:
AbstractTemporalLogic,LTLAtomic,STLAbstractAtomic,STLInputAtomic,STLOutputAtomic,TemporalAnd,TemporalAnd.LTLAnd,TemporalAnd.STLAnd,TemporalEventually,TemporalEventually.LTLEventually,TemporalEventually.STLEventually,TemporalGlobally,TemporalGlobally.LTLGlobally,TemporalGlobally.STLGlobally,TemporalImply,TemporalImply.LTLImply,TemporalImply.STLImply,TemporalNext,TemporalNext.LTLNext,TemporalNext.STLNext,TemporalNot,TemporalNot.LTLNot,TemporalNot.STLNot,TemporalOp,TemporalOr,TemporalOr.LTLOr,TemporalOr.STLOr,TemporalRelease,TemporalRelease.LTLRelease,TemporalRelease.STLRelease,TemporalSub,TemporalSub.LTLSub,TemporalSub.STLSub,TemporalUntil,TemporalUntil.LTLUntil,TemporalUntil.STLUntil
Interface of a TemporalLogic formula.
- Author:
- Masaki Waga <masakiwaga@gmail.com>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumSpecifies the type of the formula.static interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault DoubleEvaluate 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 the collection of atomic propositions such that if one of them is satisfied, the formula is satisfied.booleanReturns true if the mapper is set.booleanReturns true if the formula does not contain any temporal operators.Returns a string representation of the formula in the format of LTSMin.default StringReturns a string representation of the formula in the format of LTSMin.
-
Method Details
-
toAbstractString
String toAbstractString()Returns a string representation of the formula in the format of LTSMin.- Returns:
- a
Stringobject representing the formula in the format of LTSMin.
-
toLTLString
Returns a string representation of the formula in the format of LTSMin.- Returns:
- a
Stringobject representing the formula in the format of LTSMin.
-
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.
-
apply
Evaluate the formula on the given signal and returns the robustness value. -
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. -
constructSatisfyingAtomicPropositions
void constructSatisfyingAtomicPropositions() -
isNonTemporal
boolean isNonTemporal()Returns true if the formula does not contain any temporal operators.- Returns:
- a boolean value indicating whether the formula contains any temporal operators.
-
isInitialized
boolean isInitialized()Returns true if the mapper is set. -
getIOType
-
getSatisfyingAtomicPropositions
Returns the collection of atomic propositions such that if one of them is satisfied, the formula is satisfied. If there is no such collection, returns nullSuch a set exists if the formula does not contain any temporal operators.
-