choco.cp.solver.preprocessor
Class PPSearch.BoolSchedComparator

java.lang.Object
  extended by 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


Constructor Summary
PPSearch.BoolSchedComparator()
           
 
Method Summary
 int compare(Object o, Object o1)
           
 
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
 

Constructor Detail

PPSearch.BoolSchedComparator

public PPSearch.BoolSchedComparator()
Method Detail

compare

public int compare(Object o,
                   Object o1)
Specified by:
compare in interface Comparator


Copyright © 2012. All Rights Reserved.