pedviz.algorithms
Class HierarchieUpDown

java.lang.Object
  extended by pedviz.algorithms.HierarchieUpDown
All Implemented Interfaces:
HierarchieBuilder

public class HierarchieUpDown
extends java.lang.Object
implements HierarchieBuilder

This algorithm runs through the graph from top to bottom and assigns every node a layer.


Constructor Summary
HierarchieUpDown()
          Creates a new UpDown-Hierarchy.
 
Method Summary
 void buildHirarchie(Graph graph)
          Starts the algorithm and assigns every node from the Graph object a layer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchieUpDown

public HierarchieUpDown()
Creates a new UpDown-Hierarchy.

Method Detail

buildHirarchie

public void buildHirarchie(Graph graph)
Description copied from interface: HierarchieBuilder
Starts the algorithm and assigns every node from the Graph object a layer.

Specified by:
buildHirarchie in interface HierarchieBuilder
Parameters:
graph - Graph Object