mascoptCplex.algos.abstractalgos
Class BaroniMixedRoundedRouting

java.lang.Object
  |
  +--mascoptCplex.algos.abstractalgos.BaroniRouting
        |
        +--mascoptCplex.algos.abstractalgos.BaroniCapacityRouting
              |
              +--mascoptCplex.algos.abstractalgos.BaroniMixedRouting
                    |
                    +--mascoptCplex.algos.abstractalgos.BaroniMixedRoundedRouting

public class BaroniMixedRoundedRouting
extends BaroniMixedRouting

Version:
29/07/2003
Author:
jflaland@sophia.inria.fr

Field Summary
 double EPSILON
          Epsilon.
 
Fields inherited from class mascoptCplex.algos.abstractalgos.BaroniRouting
FLOW_ALLOCATED, integerComputation_, nbFTotal, SIZEREQUESTSTRING, stretchFactor, W
 
Constructor Summary
BaroniMixedRoundedRouting(AbstractGraph g, DiGraph requests)
          Constructs the BaroniRouting object.
 
Method Summary
 int getBackupSize(AbstractEdge e)
          Give the size of primary path on e.
 int getPrimarySize(AbstractEdge e)
          Give the size of primary path on e.
 void printStatistics()
          Statistics.
 void route()
          Launch the routing computation.
 
Methods inherited from class mascoptCplex.algos.abstractalgos.BaroniRouting
getPathForRequest, getPaths, getProtectionForRequest, hasRoutes, hasSolution, pathsCalculusMethod, setProtection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPSILON

public double EPSILON
Epsilon. This parameter controls the epsilon value used to reduce capacities.

Constructor Detail

BaroniMixedRoundedRouting

public BaroniMixedRoundedRouting(AbstractGraph g,
                                 DiGraph requests)
Constructs the BaroniRouting object. Then, it's possible to launch the calculus for routing.

Parameters:
g - the graph used for the routing
Method Detail

printStatistics

public void printStatistics()
Statistics.

Overrides:
printStatistics in class BaroniRouting

getPrimarySize

public int getPrimarySize(AbstractEdge e)
Give the size of primary path on e.

Parameters:
e - the edge to consider
Returns:
the size

getBackupSize

public int getBackupSize(AbstractEdge e)
Give the size of primary path on e.

Parameters:
e - the edge to consider
Returns:
the size

route

public void route()
Launch the routing computation.

Overrides:
route in class BaroniRouting