OptaPlanner core 6.2.0.Beta1

org.optaplanner.core.impl.exhaustivesearch.node.comparator
Class DepthFirstNodeComparator

java.lang.Object
  extended by 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
DepthFirstNodeComparator(boolean scoreBounderEnabled)
           
 
Method Summary
 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
 

Constructor Detail

DepthFirstNodeComparator

public DepthFirstNodeComparator(boolean scoreBounderEnabled)
Method Detail

compare

public int compare(ExhaustiveSearchNode a,
                   ExhaustiveSearchNode b)
Specified by:
compare in interface Comparator<ExhaustiveSearchNode>

OptaPlanner core 6.2.0.Beta1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.