Package net.maswag.falcaun
Class RoSI
java.lang.Object
net.maswag.falcaun.RoSI
The RoSI class representing a robust satisfaction interval (RoSI).
A RoSI is a range of possible robustness values after concatenating a suffix.
Reference: Deshmukh, Jyotirmoy V., et al. "Robust online monitoring of signal temporal logic." Formal Methods in System Design 51 (2017): 5-30.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) RoSI
Destructive max, i.e., assign the elementwise max of two RoSIs to this RoSI.(package private) RoSI
Destructive min, i.e., assign the elementwise min of two RoSIs to this RoSI.(package private) RoSI
Destructive negate, i.e., assign the negated RoSI to this RoSI.(package private) Double
Compute the robustness value of the RoSI as a single value.(package private) RoSI
The elementwise max of two RoSIs.(package private) RoSI
The elementwise min of two RoSIs.(package private) RoSI
negate()
Negate the RoSI.
-
Field Details
-
Constructor Details
-
RoSI
RoSI(double lowerBound, double upperBound) Construct a RoSI with a range of values. -
RoSI
RoSI(double value) Construct a RoSI with a single value, i.e., the lower bound and the upper bound are the same.
-
-
Method Details
-
max
The elementwise max of two RoSIs. -
assignMax
Destructive max, i.e., assign the elementwise max of two RoSIs to this RoSI.- Parameters:
element
- the RoSI to compare with- Returns:
- this RoSI
-
min
The elementwise min of two RoSIs. -
assignMin
Destructive min, i.e., assign the elementwise min of two RoSIs to this RoSI.- Parameters:
element
- the RoSI to compare with- Returns:
- this RoSI
-
negate
RoSI negate()Negate the RoSI.- Returns:
- the negated RoSI
-
assignNegate
RoSI assignNegate()Destructive negate, i.e., assign the negated RoSI to this RoSI.- Returns:
- this RoSI
-
getRobustness
Double getRobustness()Compute the robustness value of the RoSI as a single value.
-