Class CostMeasurement

java.lang.Object
org.apache.wayang.commons.util.profiledb.model.Measurement
org.apache.wayang.core.profiling.CostMeasurement

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

    • CostMeasurement

      public CostMeasurement(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 Details

    • 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)