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
samInformation
Fields inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
adapterProperties, SETTINGS_CHANGED
-
Constructor Summary
ConstructorDescriptionStateSensorToFrequencyPieAdapter
(SensorAndMeasurements samInformation) Deprecated.Initializes the adapter with the given StateSensor measurements. -
Method Summary
Modifier and TypeMethodDescriptionprotected double
calculateFractions
(HashMap<String, Double> fractions) Deprecated.Calculates the fractions of the pie chart to create.protected AbstractPie
instantiatePie
(String sensorName) Deprecated.Instantiates a Pie object.Methods inherited from class de.uka.ipd.sdq.sensorframework.adapter.StateSensorToPieAdapter
getAdaptedObject
Methods inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
getProperties, setProperties
Methods 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:StateSensorToPieAdapter
Calculates the fractions of the pie chart to create.- Specified by:
calculateFractions
in classStateSensorToPieAdapter
- Parameters:
fractions
- the fractions to calculate- Returns:
- the sum of all fractions
-
instantiatePie
Deprecated.Description copied from class:StateSensorToPieAdapter
Instantiates a Pie object.- Specified by:
instantiatePie
in classStateSensorToPieAdapter
- Parameters:
sensorName
- the sensor name- Returns:
- the Pie object
-