All Known Implementing Classes:
SensorFrameworkExperiment

public interface IExperiment
Classes implementing the IExperiment interface provide methods for conducting experiments.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ID.
    void
    init(String name)
    Initializes the experiment.
    void
    Resets the experiment.
    void
    Starts an experiment run.
    void
    Stops an experiment run.
    void
    takeMeasurement(String name, long startTime, long endTime)
    Adds measurement data (time interval) for the sensor with the specified name.
  • Method Details

    • init

      void init(String name)
      Initializes the experiment.
      Parameters:
      name - the name of the experiment
    • reset

      void reset()
      Resets the experiment.
    • getId

      String getId()
      Gets the ID.
      Returns:
      the ID
    • startRun

      void startRun()
      Starts an experiment run.
    • stopRun

      void stopRun()
      Stops an experiment run.
    • takeMeasurement

      void takeMeasurement(String name, long startTime, long endTime)
      Adds measurement data (time interval) for the sensor with the specified name.
      Parameters:
      name - the name of the sensor
      startTime - the start time
      endTime - the end time