Interface IResourcePowerModelCalculator
-
- All Known Implementing Classes:
AbstractResourcePowerModelCalculator
,ExpressionOasisResourcePowerModelCalculator
,InterpolationModelCalculator
,LinearPowerModelCalculator
,NonlinearRegressionCalculator
,StatefulPowerConsumingResourceCalculator
,TransitionStatePowerModelCalculator
public interface IResourcePowerModelCalculator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jscience.physics.amount.Amount<javax.measure.quantity.Power>
calculate(Collection<org.palladiosimulator.measurementframework.MeasuringValue> list)
Evaluates the power consumption of a resource using a set of measurements collected for the resource.Set<org.palladiosimulator.metricspec.MetricDescription>
getInputMetrics()
Returns the set of metrics for which this calculator needs measurements to be able to calculate the power consumption.
-
-
-
Method Detail
-
calculate
org.jscience.physics.amount.Amount<javax.measure.quantity.Power> calculate(Collection<org.palladiosimulator.measurementframework.MeasuringValue> list)
Evaluates the power consumption of a resource using a set of measurements collected for the resource.- Parameters:
list
- The list of collected measurements.- Returns:
- The power consumption.
-
getInputMetrics
Set<org.palladiosimulator.metricspec.MetricDescription> getInputMetrics()
Returns the set of metrics for which this calculator needs measurements to be able to calculate the power consumption.- Returns:
- The set of required metric descriptions.
-
-