Class LatitudeCustomerDifficultyComparator
java.lang.Object
org.optaplanner.examples.vehiclerouting.domain.solver.LatitudeCustomerDifficultyComparator
- All Implemented Interfaces:
Comparator<Customer>
On large datasets, the constructed solution looks like a zebra crossing.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
LatitudeCustomerDifficultyComparator
public LatitudeCustomerDifficultyComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Customer>
-