Class StoredResultsModel.Measure

java.lang.Object
common.definitions.StoredResultsModel.Measure
Enclosing class:
StoredResultsModel

protected class StoredResultsModel.Measure extends Object
Inner class to store parameters of each measure
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.
  • Field Details

    • name

      public String name
    • stationName

      public String stationName
    • className

      public String className
    • alpha

      public double alpha
    • precision

      public double precision
    • analyzedSamples

      public int analyzedSamples
    • discardedSamples

      public int discardedSamples
    • state

      public int state
    • type

      public String type
    • nodeType

      public String nodeType
    • fileName

      public String fileName
    • values

      public Vector<MeasureValue> values
  • Constructor Details

    • Measure

      public Measure(String name, String stationName, String className, double alpha, double precision, int analyzedSamples, int discardedSamples, int state, String type, String nodeType, String fileName)
      Construct a new Measure object
      Parameters:
      name - measure name
      stationName - reference station name
      className - reference class name
      alpha - measure alpha
      precision - measure precision
      analyzedSamples - number of analyzed samples
      discardedSamples - number of discarded samples
      state - state of the measure
      type - type of the measure
      nodeType - node type of the measure
      fileName - the output file name for the verbose measure
  • Method Details

    • addSample

      public void addSample(double meanValue, double lastIntervalAvgValue, double simulationTime, double upperBound, double lowerBound)
      Adds a new sample to current measure
      Parameters:
      meanValue - mean value of the sample
      lastIntervalAvgValue -
      simulationTime -
      upperBound - upper bound of the sample
      lowerBound - lower bound of the sample