OptaPlanner distribution 6.2.1-SNAPSHOT

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

java.lang.Object
  extended by org.optaplanner.core.impl.exhaustivesearch.node.comparator.OriginalOrderNodeComparator
All Implemented Interfaces:
Serializable, Comparator<ExhaustiveSearchNode>

public class OriginalOrderNodeComparator
extends Object
implements Comparator<ExhaustiveSearchNode>, Serializable

Investigate deeper nodes first, in order.

See Also:
Serialized Form

Constructor Summary
OriginalOrderNodeComparator()
           
 
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

OriginalOrderNodeComparator

public OriginalOrderNodeComparator()
Method Detail

compare

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

OptaPlanner distribution 6.2.1-SNAPSHOT

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