Class EnergyConsumptionEvaluator
java.lang.Object
org.unifi.mecvirtualresourceallocation.evaluation.EnergyConsumptionEvaluator
- All Implemented Interfaces:
Evaluator
- Direct Known Subclasses:
EnergyConsumptionComparisonEvaluator
,EnergyConsumptionReductionEvaluator
Abstract evaluator for measuring energy consumption in resource allocation.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Executes the evaluation of energy consumption.protected abstract void
plotResults
(Map<Integer, BigDecimal> avgWeightsSequential, Map<Integer, BigDecimal> avgWeightsLocal) Plots the results of the energy consumption evaluation.
-
Constructor Details
-
EnergyConsumptionEvaluator
public EnergyConsumptionEvaluator()
-
-
Method Details
-
execute
Executes the evaluation of energy consumption. -
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 SequentialSearchStrategyavgWeightsLocal
- the average reduced weights for the LocalSearchStrategy
-