Class ScoreEvaluator
java.lang.Object
de.hybris.platform.warehousing.sourcing.fitness.evaluation.impl.ScoreEvaluator
- All Implemented Interfaces:
FitnessEvaluator
Score implementation of
FitnessEvaluator interface.
This simply returns the score of warehouse in provided SourcingLocation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(SourcingLocation sourcingLocation) Calculate the fitness value
-
Constructor Details
-
ScoreEvaluator
public ScoreEvaluator()
-
-
Method Details
-
evaluate
Description copied from interface:FitnessEvaluatorCalculate the fitness value- Specified by:
evaluatein interfaceFitnessEvaluator- Parameters:
sourcingLocation- the location to be evaluated- Returns:
- the fitness value or
Double.NaNif it cannot be evaluated
-