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
equals
public BreadthFirstNodeComparator(boolean scoreBounderEnabled)
public int compare(ExhaustiveSearchNode a, ExhaustiveSearchNode b)
compare
in interface Comparator<ExhaustiveSearchNode>
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.