*/
public class DepotAngleCustomerDifficultyWeightFactory
implements SelectionSorterWeightFactory<VehicleRoutingSolution, Customer> {
public Comparable createSorterWeight(VehicleRoutingSolution vehicleRoutingSolution, Customer customer) {
Depot depot = vehicleRoutingSolution.getDepotList().get(0);
return new DepotAngleCustomerDifficultyWeight(customer,
customer.getLocation().getAngle(depot.getLocation()),
customer.getLocation().getDistance(depot.getLocation())
+ depot.getLocation().getDistance(customer.getLocation()));
}