Class DepthFirstNodeComparator
- java.lang.Object
-
- org.optaplanner.core.impl.exhaustivesearch.node.comparator.DepthFirstNodeComparator
-
- All Implemented Interfaces:
Comparator<ExhaustiveSearchNode>
public class DepthFirstNodeComparator extends Object implements Comparator<ExhaustiveSearchNode>
Investigate deeper nodes first.
-
-
Constructor Summary
Constructors Constructor Description DepthFirstNodeComparator(boolean scoreBounderEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ExhaustiveSearchNode a, ExhaustiveSearchNode 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(ExhaustiveSearchNode a, ExhaustiveSearchNode b)
- Specified by:
compare
in interfaceComparator<ExhaustiveSearchNode>
-
-