lv.lumii.layoutengine.flowLayout.horizontalOrdering

## Class OrderingAlgorithm

- java.lang.Object
- - lv.lumii.layoutengine.flowLayout.horizontalOrdering.OrderingAlgorithm

-     public class OrderingAlgorithm
      extends java.lang.Object

  This class implements the main control structures of the horizontal ordering algorithm of a layered graph that is needed to provide the horizontal ordering in the Flow Layout algorithm. The algorithm runs in two stages: (1) building node PQ-trees processing levels in top to bottom order, (2) determining node ordering within levels in level bottom to top order according PQ-tree data.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OrderingAlgorithm()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()` This method runs the ordering algorithm.
    `void` | `setInput(OrderingInput input)` This method sets the input object of this algorithm.

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

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OrderingAlgorithm

          public OrderingAlgorithm()

  - ### Method Detail

    - #### setInput

          public void setInput(OrderingInput input)

      This method sets the input object of this algorithm.
      Parameters:
        `input` - the input object.

    - #### run

          public void run()

      This method runs the ordering algorithm.