Class LongitudeVisitDifficultyComparator
- java.lang.Object
-
- org.optaplanner.examples.tsp.domain.solver.LongitudeVisitDifficultyComparator
-
- All Implemented Interfaces:
Comparator<Visit>
public class LongitudeVisitDifficultyComparator extends Object implements Comparator<Visit>
-
-
Constructor Summary
Constructors Constructor Description LongitudeVisitDifficultyComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Visit a, Visit b)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Visit a, Visit b)
- Specified by:
comparein interfaceComparator<Visit>
-
-