be.ac.ulg.montefiore.run.totem.repository.optDivideTM
Class OptDivideTMLoadComputer
java.lang.Object
be.ac.ulg.montefiore.run.totem.repository.optDivideTM.OptDivideTMLoadComputer
- All Implemented Interfaces:
- TmLoadComputer
public class OptDivideTMLoadComputer
- extends java.lang.Object
- implements TmLoadComputer
This class implements a Traffic Engineering method which consist to divide the traffic matrix into
N sub-matrices (called strata). Each stratum is routed independently of each other. Concerning the
implementation of such solution, it is possible to establish multiple MPLS full-mesh (N) or to use
the Multi-Topology functionality (N multiple topologies).
Creation date: 18/01/2007
- Author:
- Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OptDivideTMLoadComputer
public OptDivideTMLoadComputer()
isECMP
public boolean isECMP()
setECMP
public void setECMP(boolean ECMP)
compute
public double[] compute(Domain domain,
TrafficMatrix tm)
throws NoRouteToHostException,
RoutingException
- Compute the link load of the specified traffic matrix on the domain
- Specified by:
compute
in interface TmLoadComputer
- Parameters:
domain
- the domaintm
- the traffic matrix to route
- Returns:
- the load of each link as an array of double
- Throws:
NoRouteToHostException
- occurs if there is no route from a source to a destination
RoutingException
- occurs if the routing algorithms encounter a error
establishFullmeshes
public void establishFullmeshes(Domain domain,
TrafficMatrix tm)
throws NoRouteToHostException,
RoutingException
- Throws:
NoRouteToHostException
RoutingException
computeOptimumApproximation
public double computeOptimumApproximation()
setObjectiveFunction
public void setObjectiveFunction(java.lang.String objectiveFunction)
throws ObjectiveFunctionException
- Throws:
ObjectiveFunctionException
setObjectiveFunction
public void setObjectiveFunction(TEObjectiveFunction objectiveFunction)
setN
public void setN(int N)
setVerbose
public void setVerbose(boolean verbose)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.