mascoptDev.algos.digraph
Class WTranslatorGraph

java.lang.Object
  |
  +--mascoptDev.algos.digraph.WTranslatorGraph

public class WTranslatorGraph
extends Object

This class transform a network into the Globcom model of Hervé Rivano. Referer to Globecom 2002 or Hervé Rivano !


Constructor Summary
WTranslatorGraph(DiGraph g, DiGraph requests, int multiplicity)
          The constructor.
 
Method Summary
 DiGraph buildGraph()
          Launch the build of the resulting graph.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WTranslatorGraph

public WTranslatorGraph(DiGraph g,
                        DiGraph requests,
                        int multiplicity)
The constructor. It uses a DiGraph g, a DiGraph of requests on this digraph and a multiplicity which is the number of wavelength in the network.

Method Detail

buildGraph

public DiGraph buildGraph()
Launch the build of the resulting graph.

Returns:
the layered graph.