Class CostMeasurement


  • public class CostMeasurement
    extends Measurement
    This measurement captures execution costs w.r.t. to Wayang's cost model.
    • Constructor Detail

      • CostMeasurement

        public CostMeasurement​(java.lang.String id,
                               double lowerCost,
                               double upperCost,
                               double probability)
        Creates a new instance.
        Parameters:
        id - the ID of the instance
        lowerCost - the lower bound of the cost
        upperCost - the upper bound of the cost
        probability - the probability of the actual cost being within the bounds
      • CostMeasurement

        protected CostMeasurement()
        Deserialization constructor.
    • Method Detail

      • getLowerCost

        public double getLowerCost()
      • setLowerCost

        public void setLowerCost​(double lowerCost)
      • getUpperCost

        public double getUpperCost()
      • setUpperCost

        public void setUpperCost​(double upperCost)
      • getProbability

        public double getProbability()
      • setProbability

        public void setProbability​(double probability)