Class OptimisticBoundFirstNodeComparator
java.lang.Object
org.optaplanner.core.impl.exhaustivesearch.node.comparator.OptimisticBoundFirstNodeComparator
- All Implemented Interfaces:
Comparator<ExhaustiveSearchNode>
public class OptimisticBoundFirstNodeComparator
extends Object
implements Comparator<ExhaustiveSearchNode>
Investigate the nodes with a better optimistic bound first, then deeper nodes.
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
OptimisticBoundFirstNodeComparator
public OptimisticBoundFirstNodeComparator(boolean scoreBounderEnabled)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<ExhaustiveSearchNode>
-