org.optaplanner.examples.vehiclerouting.domain.solver
Class LatitudeCustomerDifficultyComparator
java.lang.Object
org.optaplanner.examples.vehiclerouting.domain.solver.LatitudeCustomerDifficultyComparator
- All Implemented Interfaces:
- Serializable, Comparator<Customer>
public class LatitudeCustomerDifficultyComparator
- extends Object
- implements Comparator<Customer>, Serializable
On large datasets, the constructed solution looks like a zebra crossing.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LatitudeCustomerDifficultyComparator
public LatitudeCustomerDifficultyComparator()
compare
public int compare(Customer a,
Customer b)
- Specified by:
compare
in interface Comparator<Customer>
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.