Interface CalculatorFactory
-
- All Known Implementing Classes:
AbstractCalculatorFactory
,CalculatorFactoryImpl
,EssentialCalculatorsFactory
public interface CalculatorFactory
A factory for creating Calculator objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPriority()
Gets the priority.AbstractDistributionPowerModelCalculator
instantiateDistributionPowerModelCalculator(DistributionPowerBinding binding)
Instantiate distribution power model calculator.IResourcePowerModelCalculator
instantiateResourcePowerModelCalculator(ResourcePowerBinding binding)
Instantiate resource power model calculator.boolean
isCompatibleWith(PowerModelSpecification specification)
Checks if is compatible with.
-
-
-
Method Detail
-
isCompatibleWith
boolean isCompatibleWith(PowerModelSpecification specification)
Checks if is compatible with.- Parameters:
specification
- the specification- Returns:
- true, if is compatible with
-
getPriority
int getPriority()
Gets the priority.- Returns:
- the priority
-
instantiateDistributionPowerModelCalculator
AbstractDistributionPowerModelCalculator instantiateDistributionPowerModelCalculator(DistributionPowerBinding binding)
Instantiate distribution power model calculator.- Parameters:
forEntity
- the for entity- Returns:
- the abstract distribution power model calculator
-
instantiateResourcePowerModelCalculator
IResourcePowerModelCalculator instantiateResourcePowerModelCalculator(ResourcePowerBinding binding)
Instantiate resource power model calculator.- Parameters:
forResource
- the for resource- Returns:
- the abstract resource power model calculator
-
-