Class AllocationFitnessEvaluator
- java.lang.Object
-
- de.hybris.platform.warehousing.sourcing.fitness.evaluation.impl.AllocationFitnessEvaluator
-
- All Implemented Interfaces:
FitnessEvaluator
public class AllocationFitnessEvaluator extends java.lang.Object implements FitnessEvaluator
Allocation implementation of FitnessEvaluator interface evaluates a location's ability to allocate ordered items.
-
-
Constructor Summary
Constructors Constructor Description AllocationFitnessEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
evaluate(SourcingLocation sourcingLocation)
Calculate the fitness value
-
-
-
Method Detail
-
evaluate
public java.lang.Double evaluate(SourcingLocation sourcingLocation)
Description copied from interface:FitnessEvaluator
Calculate the fitness value- Specified by:
evaluate
in interfaceFitnessEvaluator
- Parameters:
sourcingLocation
- the location to be evaluated- Returns:
- the fitness value or
Double.NaN
if it cannot be evaluated
-
-