Class DepotDistanceCustomerDifficultyWeightFactory
java.lang.Object
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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSorterWeight(VehicleRoutingSolution vehicleRoutingSolution, Customer customer)
-
Constructor Details
-
DepotDistanceCustomerDifficultyWeightFactory
public DepotDistanceCustomerDifficultyWeightFactory()
-
-
Method Details
-
createSorterWeight
public DepotDistanceCustomerDifficultyWeightFactory.DepotDistanceCustomerDifficultyWeight createSorterWeight(VehicleRoutingSolution vehicleRoutingSolution, Customer customer) - Specified by:
createSorterWeightin interfaceorg.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>
-