public class BreadthFirstNodeComparator extends Object implements Comparator<ExhaustiveSearchNode>, Serializable
A typical ScoreBounder
's ScoreBounder.calculateOptimisticBound(ScoreDirector, Score)
will be weak, which results in horrible performance scalability too.
Constructor and Description |
---|
BreadthFirstNodeComparator(boolean scoreBounderEnabled) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ExhaustiveSearchNode a,
ExhaustiveSearchNode b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public BreadthFirstNodeComparator(boolean scoreBounderEnabled)
public int compare(ExhaustiveSearchNode a, ExhaustiveSearchNode b)
compare
in interface Comparator<ExhaustiveSearchNode>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.