Class EnergyConsumptionComparisonEvaluator
java.lang.Object
org.unifi.mecvirtualresourceallocation.evaluation.EnergyConsumptionEvaluator
org.unifi.mecvirtualresourceallocation.evaluation.EnergyConsumptionComparisonEvaluator
- All Implemented Interfaces:
Evaluator
Evaluator for comparing energy consumption between different allocation strategies.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
plotResults
(Map<Integer, BigDecimal> avgWeightsSequential, Map<Integer, BigDecimal> avgWeightsLocal) Plots the results of the energy consumption comparison.Methods inherited from class org.unifi.mecvirtualresourceallocation.evaluation.EnergyConsumptionEvaluator
execute
-
Constructor Details
-
EnergyConsumptionComparisonEvaluator
public EnergyConsumptionComparisonEvaluator()
-
-
Method Details
-
plotResults
protected void plotResults(Map<Integer, BigDecimal> avgWeightsSequential, Map<Integer, BigDecimal> avgWeightsLocal) Plots the results of the energy consumption comparison.- Specified by:
plotResults
in classEnergyConsumptionEvaluator
- Parameters:
avgWeightsSequential
- the average weights for the SequentialSearchStrategyavgWeightsLocal
- the average weights for the LocalSearchStrategy
-