Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double evaluate​(SourcingLocation sourcingLocation)
      Calculate the fitness value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AllocationFitnessEvaluator

        public AllocationFitnessEvaluator()
    • Method Detail

      • evaluate

        public java.lang.Double evaluate​(SourcingLocation sourcingLocation)
        Description copied from interface: FitnessEvaluator
        Calculate the fitness value
        Specified by:
        evaluate in interface FitnessEvaluator
        Parameters:
        sourcingLocation - the location to be evaluated
        Returns:
        the fitness value or Double.NaN if it cannot be evaluated