org.eclipse.incquery.runtime.localsearch.planner.util

## Class OrderingHeuristics

- java.lang.Object
- - org.eclipse.incquery.runtime.localsearch.planner.util.OrderingHeuristics

- All Implemented Interfaces:
    java.util.Comparator<PConstraint>

  Deprecated.
  This is used by `LocalSearchPlannerStrategy`. Use the `LocalSearchRuntimeBasedStrategy` and its belonging components instead.

      @Deprecated
      public class OrderingHeuristics
      extends java.lang.Object
      implements java.util.Comparator<PConstraint>

  Class to contain the ordering logic for local search planning. Not to be confused with `OrderingHeuristics`
  Author:
    Marton Bur

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OrderingHeuristics(SubPlan plan, IQueryMetaContext context)` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(PConstraint constraint1, PConstraint constraint2)` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `equals, 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

    - #### OrderingHeuristics

          public OrderingHeuristics(SubPlan plan,
                                    IQueryMetaContext context)

      Deprecated.

  - ### Method Detail

    - #### compare

          public int compare(PConstraint constraint1,
                             PConstraint constraint2)

      Deprecated.
      Specified by:
        `compare` in interface `java.util.Comparator<PConstraint>`