Class EnergyConsumptionEvaluator

java.lang.Object
org.unifi.mecvirtualresourceallocation.evaluation.EnergyConsumptionEvaluator
All Implemented Interfaces:
Evaluator
Direct Known Subclasses:
EnergyConsumptionComparisonEvaluator, EnergyConsumptionReductionEvaluator

public abstract class EnergyConsumptionEvaluator extends Object implements Evaluator
Abstract evaluator for measuring energy consumption in resource allocation.
  • Constructor Details

    • EnergyConsumptionEvaluator

      public EnergyConsumptionEvaluator()
  • Method Details

    • execute

      public void execute(List<Integer> numVertices, int numExecutions, int delta)
      Executes the evaluation of energy consumption.
      Specified by:
      execute in interface Evaluator
      Parameters:
      numVertices - a list containing the number of vertices for each hypergraph to be evaluated
      numExecutions - the number of times the evaluation is executed
      delta - the delta (δ) value used for generating hypergraphs
    • plotResults

      protected abstract void plotResults(Map<Integer,BigDecimal> avgWeightsSequential, Map<Integer,BigDecimal> avgWeightsLocal)
      Plots the results of the energy consumption evaluation.
      Parameters:
      avgWeightsSequential - the average reduced weights for the SequentialSearchStrategy
      avgWeightsLocal - the average reduced weights for the LocalSearchStrategy