Class StateSensorToFrequencyPieAdapter
java.lang.Object
java.util.Observable
de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
de.uka.ipd.sdq.sensorframework.adapter.StateSensorToPieAdapter
de.uka.ipd.sdq.sensorframework.adapter.StateSensorToFrequencyPieAdapter
- All Implemented Interfaces:
IAdapter
Deprecated.
Superseded by EDP2.
This adapter provides a frequency-based calculation of the individual pie fractions.
Used for execution result visualization (reliability-related).
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.sensorframework.adapter.StateSensorToPieAdapter
samInformationFields inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
adapterProperties, SETTINGS_CHANGED -
Constructor Summary
ConstructorsConstructorDescriptionStateSensorToFrequencyPieAdapter(SensorAndMeasurements samInformation) Deprecated.Initializes the adapter with the given StateSensor measurements. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecalculateFractions(HashMap<String, Double> fractions) Deprecated.Calculates the fractions of the pie chart to create.protected AbstractPieinstantiatePie(String sensorName) Deprecated.Instantiates a Pie object.Methods inherited from class de.uka.ipd.sdq.sensorframework.adapter.StateSensorToPieAdapter
getAdaptedObjectMethods inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
getProperties, setPropertiesMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
StateSensorToFrequencyPieAdapter
Deprecated.Initializes the adapter with the given StateSensor measurements.- Parameters:
samInformation- Information about the StateSensor and the measurements
-
-
Method Details
-
calculateFractions
Deprecated.Description copied from class:StateSensorToPieAdapterCalculates the fractions of the pie chart to create.- Specified by:
calculateFractionsin classStateSensorToPieAdapter- Parameters:
fractions- the fractions to calculate- Returns:
- the sum of all fractions
-
instantiatePie
Deprecated.Description copied from class:StateSensorToPieAdapterInstantiates a Pie object.- Specified by:
instantiatePiein classStateSensorToPieAdapter- Parameters:
sensorName- the sensor name- Returns:
- the Pie object
-