Class StoredResultsModel.MeasureValueImpl

java.lang.Object
common.definitions.StoredResultsModel.MeasureValueImpl
All Implemented Interfaces:
MeasureValue
Enclosing class:
StoredResultsModel

public class StoredResultsModel.MeasureValueImpl extends Object implements MeasureValue
Inner class that implements Value interface
Author:
Bertoli Marco Date: 3-ott-2005 Time: 14.10.50 Modified by Ashanka (May 2010): Patch: Multi-Sink Perf. Index Description: Added new Performance index for capturing 1. global response time (ResponseTime per Sink) 2. global throughput (Throughput per Sink) each sink per class.
  • Constructor Details

    • MeasureValueImpl

      public MeasureValueImpl(double meanValue, double lastIntervalAvgValue, double simulationTime, double upperBound, double lowerBound)
      Creates a new MeasureValue object
      Parameters:
      meanValue - mean value of the sample
      upperBound - sample upper bound
      lowerBound - sample lower bound
  • Method Details

    • getMeanValue

      public double getMeanValue()
      Specified by:
      getMeanValue in interface MeasureValue
      Returns:
      the mean value
    • getUpperBound

      public double getUpperBound()
      Specified by:
      getUpperBound in interface MeasureValue
      Returns:
      the upper bound of value. Infinity if not set
    • getLowerBound

      public double getLowerBound()
      Specified by:
      getLowerBound in interface MeasureValue
      Returns:
      the lower bound of value. Infinity if not set
    • getLastIntervalAvgValue

      public double getLastIntervalAvgValue()
      Specified by:
      getLastIntervalAvgValue in interface MeasureValue
      Returns:
      the last measured value
    • getSimTime

      public double getSimTime()
      Specified by:
      getSimTime in interface MeasureValue
      Returns:
      the simulation time