Interface IExperiment

  • All Known Implementing Classes:
    SensorFrameworkExperiment

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

      • 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