java.lang.Object
de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reports.RReport
Direct Known Subclasses:
DemandTimeReport, DistributionComparisonReport, TimeSeriesReport

public abstract class RReport extends Object
Abstract class for R reports. The interface of this class is used by the viewers to access the reports.
  • 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 given SensorAndMeasurements. They can use the storeMeasurementsInRVector(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.