mascoptDev.networks
Class Network

java.lang.Object
  |
  +--mascoptDev.networks.Network
Direct Known Subclasses:
NetworkCplexFlow, WDMNetwork

public class Network
extends Object

Network class.

Author:
Jean-Francois Lalande (Jean-Francois.Lalande@sophia.inria.fr)

Constructor Summary
Network()
          Default Constructor.
 
Method Summary
 void addGraph(int id, AbstractGraph graph)
          Add graph in the network with an id.
 AbstractGraph getGraph(int id)
          get graph in the network which has this id.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network

public Network()
Default Constructor.

Method Detail

addGraph

public void addGraph(int id,
                     AbstractGraph graph)
Add graph in the network with an id.

Parameters:
id - the identity of graph
graph - AbstractGraph representing the graph to add.

getGraph

public AbstractGraph getGraph(int id)
get graph in the network which has this id.

Parameters:
id - the identity of graph