OptaPlanner examples 6.2.0.CR1

org.optaplanner.examples.vehiclerouting.domain.solver
Class DepotDistanceCustomerDifficultyWeightFactory

java.lang.Object
  extended by org.optaplanner.examples.vehiclerouting.domain.solver.DepotDistanceCustomerDifficultyWeightFactory
All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>

public class DepotDistanceCustomerDifficultyWeightFactory
extends Object
implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>

On large datasets, the constructed solution looks like a Matryoshka doll.


Nested Class Summary
static class DepotDistanceCustomerDifficultyWeightFactory.DepotDistanceCustomerDifficultyWeight
           
 
Constructor Summary
DepotDistanceCustomerDifficultyWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(VehicleRoutingSolution vehicleRoutingSolution, Customer customer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DepotDistanceCustomerDifficultyWeightFactory

public DepotDistanceCustomerDifficultyWeightFactory()
Method Detail

createSorterWeight

public Comparable createSorterWeight(VehicleRoutingSolution vehicleRoutingSolution,
                                     Customer customer)
Specified by:
createSorterWeight in interface org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>

OptaPlanner examples 6.2.0.CR1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.