choco.cp.solver.preprocessor
Class PPSearch.BoolSchedComparator
java.lang.Object
choco.cp.solver.preprocessor.PPSearch.BoolSchedComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- PPSearch
public static class PPSearch.BoolSchedComparator
- extends Object
- implements Comparator
Sort the precedences by decreasing sum of the two
durations of the two tasks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PPSearch.BoolSchedComparator
public PPSearch.BoolSchedComparator()
compare
public int compare(Object o,
Object o1)
- Specified by:
compare
in interface Comparator
Copyright © 2012. All Rights Reserved.