Class DepotAngleCustomerDifficultyWeightFactory
java.lang.Object
org.optaplanner.examples.vehiclerouting.domain.solver.DepotAngleCustomerDifficultyWeightFactory
- All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>
public class DepotAngleCustomerDifficultyWeightFactory
extends Object
implements org.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>
On large datasets, the constructed solution looks like pizza slices.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSorterWeight(VehicleRoutingSolution vehicleRoutingSolution, Customer customer)
-
Constructor Details
-
DepotAngleCustomerDifficultyWeightFactory
public DepotAngleCustomerDifficultyWeightFactory()
-
-
Method Details
-
createSorterWeight
public DepotAngleCustomerDifficultyWeightFactory.DepotAngleCustomerDifficultyWeight createSorterWeight(VehicleRoutingSolution vehicleRoutingSolution, Customer customer) - Specified by:
createSorterWeightin interfaceorg.optaplanner.core.impl.heuristic.selector.common.decorator.SelectionSorterWeightFactory<VehicleRoutingSolution,Customer>
-