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

## Class DepthFirstNodeComparator

- java.lang.Object
- - org.optaplanner.core.impl.exhaustivesearch.node.comparator.DepthFirstNodeComparator

- All Implemented Interfaces:
    Serializable, Comparator<ExhaustiveSearchNode>

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

  Investigate deeper nodes first.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DepthFirstNodeComparator(boolean scoreBounderEnabled)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### DepthFirstNodeComparator

          public DepthFirstNodeComparator(boolean scoreBounderEnabled)

  - ### Method Detail

    - #### compare

          public int compare(ExhaustiveSearchNode a,
                             ExhaustiveSearchNode b)

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

Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.