Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.exhaustivesearch.node.comparator
Class OptimisticBoundFirstNodeComparator

    java.lang.Object
      org.optaplanner.core.impl.exhaustivesearch.node.comparator.OptimisticBoundFirstNodeComparator

All Implemented Interfaces:
  Comparator<ExhaustiveSearchNode>

    public class OptimisticBoundFirstNodeComparator

extends Object
implements Comparator<ExhaustiveSearchNode>

Investigate the nodes with a better optimistic bound first, then deeper nodes.

Constructor Summary
`OptimisticBoundFirstNodeComparator(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

### OptimisticBoundFirstNodeComparator

    public OptimisticBoundFirstNodeComparator(boolean scoreBounderEnabled)

Method Detail

### compare

    public int compare(ExhaustiveSearchNode a,
                       ExhaustiveSearchNode b)

  Specified by:
    `compare` in interface `Comparator<ExhaustiveSearchNode>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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