Module ojalgo

Class NodeKey

java.lang.Object
org.ojalgo.optimisation.integer.NodeKey
All Implemented Interfaces:
Comparable<NodeKey>

public final class NodeKey extends Object implements Comparable<NodeKey>
  • Field Details

    • FIFO_SEQUENCE

      public static final Comparator<NodeKey> FIFO_SEQUENCE
    • LARGE_DISPLACEMENT

      public static final Comparator<NodeKey> LARGE_DISPLACEMENT
    • LIFO_SEQUENCE

      public static final Comparator<NodeKey> LIFO_SEQUENCE
    • MAX_OBJECTIVE

      public static final Comparator<NodeKey> MAX_OBJECTIVE
    • MIN_OBJECTIVE

      public static final Comparator<NodeKey> MIN_OBJECTIVE
    • SMALL_DISPLACEMENT

      public static final Comparator<NodeKey> SMALL_DISPLACEMENT
    • depth

      public final int depth
      How far have we branched from the root
    • displacement

      public final double displacement
      How much the branched on variable must be displaced because of the new constraint introduced with this node (each node introduces precisely 1 new upper or lower bound).
    • index

      public final int index
      The index of the branched on variable.
    • objective

      public final double objective
      The objective function value of the parent node.
    • parent

      public final long parent
      Parent node sequence number.
    • sequence

      public final long sequence
      Node sequence number to keep track of in which order the nodes were created.
  • Method Details