org.eclipse.viatra.query.runtime.rete.construction.basiclinear

## Class OrderingHeuristics

- java.lang.Object
- - org.eclipse.viatra.query.runtime.rete.construction.basiclinear.OrderingHeuristics

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

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(PConstraint o1, PConstraint o2)`

    - ### 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

    - #### OrderingHeuristics

          public OrderingHeuristics(SubPlan plan,
                                    IQueryMetaContext context)

  - ### Method Detail

    - #### compare

          public int compare(PConstraint o1,
                             PConstraint o2)

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