Class RReport
java.lang.Object
de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reports.RReport
- Direct Known Subclasses:
DemandTimeReport
,DistributionComparisonReport
,TimeSeriesReport
Abstract class for R reports. The interface of this class is used by the viewers to access the
reports.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Identifier for subsets of data elements that belong to a single time series element. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ArrayList<IReportItem>
prepareReportItems
(Collection<SensorAndMeasurements> measurements, RConnection rConnection) Template method for subclasses to implement.
-
Constructor Details
-
RReport
public RReport()
-
-
Method Details
-
prepareReportItems
public abstract ArrayList<IReportItem> prepareReportItems(Collection<SensorAndMeasurements> measurements, RConnection rConnection) Template method for subclasses to implement. Subclasses can create IReportItems from the givenSensorAndMeasurements
. They can use thestoreMeasurementsInRVector(SensorAndMeasurements, int)
to transfer data to R.- Parameters:
measurements
- List of the measurements for a sensor.rConnection
- connection to the R engine.- Returns:
- List of Items.
-