Package net.maswag.falcaun
Class STLOutputAtomic
java.lang.Object
net.maswag.falcaun.AbstractTemporalLogic<List<Double>>
net.maswag.falcaun.STLAbstractAtomic
net.maswag.falcaun.STLOutputAtomic
- All Implemented Interfaces:
Function<IOSignal<List<Double>>,
,Double> TemporalLogic<List<Double>>
,TemporalLogic.STLCost
STLAtomic class.
- Author:
- Masaki Waga <masakiwaga@gmail.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.maswag.falcaun.STLAbstractAtomic
STLAbstractAtomic.Operation
Nested classes/interfaces inherited from interface net.maswag.falcaun.TemporalLogic
TemporalLogic.IOType, TemporalLogic.LTLFormula, TemporalLogic.STLCost
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class net.maswag.falcaun.STLAbstractAtomic
allAPs, comparator, op, sigIndex
Fields inherited from class net.maswag.falcaun.AbstractTemporalLogic
initialized, iOType, nonTemporal, satisfyingAtomicPropositions
-
Constructor Summary
ConstructorsConstructorDescriptionSTLOutputAtomic
(int sigIndex, STLAbstractAtomic.Operation op, double comparator) Constructor for STLAtomic. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns 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.protected String
(package private) void
(package private) void
setLargest
(List<Character> largest) (package private) void
setOutputMapper
(List<Map<Character, Double>> outputMapper) private void
Methods inherited from class net.maswag.falcaun.STLAbstractAtomic
cartesianProductCharacters, constructAllAPs, constructAtomicStrings, decomposeMap, decomposeMapList, getAllAPs, getRoSISingle, getSatisfyingAtomicPropositions, toAbstractString, toString
Methods inherited from class net.maswag.falcaun.AbstractTemporalLogic
equals, hashCode, makeAbstractStringWithAtomicStrings
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.maswag.falcaun.TemporalLogic
apply, getIOType, isInitialized, isNonTemporal, toLTLString
-
Field Details
-
abstractOutputs
-
concreteOutputs
-
largest
-
outputMapper
-
-
Constructor Details
-
STLOutputAtomic
Constructor for STLAtomic.
- Parameters:
sigIndex
- a int.op
- aSTLAbstractAtomic.Operation
object.comparator
- a double.
-
-
Method Details
-
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
public void constructSatisfyingAtomicPropositions() -
setOutputMaps
private void setOutputMaps() -
setAtomic
-
setOutputMapper
-
setLargest
-
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
RoSI
object representing the range of the possible robustness values after concatenating a suffix.
-
getSignalName
- Specified by:
getSignalName
in classSTLAbstractAtomic
-