suvi.alg.interfaces
Interface NodeOrderingPolicy

All Superinterfaces:
GraphLayoutAttrConsumer
All Known Implementing Classes:
HeuristicNodeOrderingPolicy, NodeOrderingPolicyContract, NodeOrderingPolicyDecorator, SimplisticNodeOrderingPolicy

public interface NodeOrderingPolicy
extends GraphLayoutAttrConsumer

Decides the order of all nodes within ranks in the preprocessed graph.

Node ordering policies expect that:


Method Summary
 NodeOrdering nodeOrdering(javautils.graph.adt.AugmentedGraph original, javautils.graph.adt.AugmentedGraph preprocessed, GraphTopology topology, GraphLayoutAttrMap attrMap, AugmentedNodeRanking ranking)
          A node ordering for the graph.
 
Methods inherited from interface suvi.api.alg.attr.GraphLayoutAttrConsumer
defaultAttrs
 

Method Detail

nodeOrdering

public NodeOrdering nodeOrdering(javautils.graph.adt.AugmentedGraph original,
                                 javautils.graph.adt.AugmentedGraph preprocessed,
                                 GraphTopology topology,
                                 GraphLayoutAttrMap attrMap,
                                 AugmentedNodeRanking ranking)

A node ordering for the graph.