Class BiggestDimension
java.lang.Object
org.btrplace.scheduler.choco.constraint.mttr.load.BiggestDimension
- All Implemented Interfaces:
GlobalLoadEstimator
public class BiggestDimension extends Object implements GlobalLoadEstimator
Estimator stating the load of a node is the load of the mostly-loaded
dimension.
- Author:
- Fabien Hermenier
-
Constructor Summary
Constructors Constructor Description BiggestDimension()
-
Method Summary
Modifier and Type Method Description double
getLoad(double[] loads)
Compute the load.
-
Constructor Details
-
BiggestDimension
public BiggestDimension()
-
-
Method Details
-
getLoad
public double getLoad(double[] loads)Description copied from interface:GlobalLoadEstimator
Compute the load.- Specified by:
getLoad
in interfaceGlobalLoadEstimator
- Parameters:
loads
- the per dimension load (discretised)- Returns:
- the resulting load
-