mascoptCplex.algos.networks
Class ProtectionRoutingMN

java.lang.Object
  |
  +--mascoptCplex.algos.networks.ProtectionRoutingMN

public class ProtectionRoutingMN
extends Object


Field Summary
 String CAPACITY_STRING_VALUE
          String which is read on edges for the capacity.
 int W
          Number of wavelength per fiber.
 
Constructor Summary
ProtectionRoutingMN(WDMNetwork network, int N, boolean integerCompute)
           
 
Method Summary
 RoutingCplexFlowCapacityMax computeNetwork(NetworkCplexFlow network)
          compute the NetworkCplexFlow with a RoutingCplexFlowCapacityMax.
 void computeRouting()
          Solve the problem of the network.
 void solve()
          Solve the problem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAPACITY_STRING_VALUE

public String CAPACITY_STRING_VALUE
String which is read on edges for the capacity.


W

public int W
Number of wavelength per fiber.

Constructor Detail

ProtectionRoutingMN

public ProtectionRoutingMN(WDMNetwork network,
                           int N,
                           boolean integerCompute)
Method Detail

solve

public void solve()
Solve the problem


computeRouting

public void computeRouting()
Solve the problem of the network. Use the object RoutingCplexFlowCapacityMax, so the objective of problem is to minimize the maximun flow of the system.


computeNetwork

public RoutingCplexFlowCapacityMax computeNetwork(NetworkCplexFlow network)
compute the NetworkCplexFlow with a RoutingCplexFlowCapacityMax. So, specify the objective of the problem. The objective minimize the maximun capacity of network.

Parameters:
network - representing the problem to compute.
Returns:
a RoutingCplexFlowCapacityMax which is the solution of problem.