|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.LinkLoadStrategyAdapter
be.ac.ulg.montefiore.run.totem.repository.optDivideTM.OptDivideTMLinkLoadStrategy
public class OptDivideTMLinkLoadStrategy
Creation date: 18/01/2007
Field Summary
Fields inherited from class be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.LinkLoadStrategyAdapter
ECMP, reuseComputedPath, spf, stopOnError
Constructor Summary
OptDivideTMLinkLoadStrategy()
Method Summary
double[]
compute(Domain domain,
TrafficMatrix tm)
Compute the link load of the specified traffic matrix on the domain
double
computeOptimumApproximation()
boolean
equals(java.lang.Object o)
void
establishFullmeshes(Domain domain,
TrafficMatrix tm)
int
hashCode()
void
setN(int N)
void
setObjectiveFunction(java.lang.String objectiveFunction)
void
setObjectiveFunction(TEObjectiveFunction objectiveFunction)
void
setSPFAlgo(SPF spf)
Set the SPF (Shortest Path First algorithm) property.
void
setVerbose(boolean verbose)
java.lang.String
toString()
Methods inherited from class be.ac.ulg.montefiore.run.totem.trafficMatrix.model.impl.LinkLoadStrategyAdapter
getSPFAlgo, isECMP, isReuseComputedPath, isStopOnError, setECMP, setReuseComputedPath, setStopOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Constructor Detail
OptDivideTMLinkLoadStrategy
public OptDivideTMLinkLoadStrategy()
Method Detail
setSPFAlgo
public void setSPFAlgo(SPF spf)
setSPFAlgo
in interface LinkLoadStrategy
setSPFAlgo
in class LinkLoadStrategyAdapter
spf
- the SPF to use in the link load computation
compute
public double[] compute(Domain domain,
TrafficMatrix tm)
throws NoRouteToHostException,
RoutingException
domain
- the domaintm
- the traffic matrix to route
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
computeOptimumApproximation
public double computeOptimumApproximation()
setObjectiveFunction
public void setObjectiveFunction(java.lang.String objectiveFunction)
throws ObjectiveFunctionException
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)
equals
in interface LinkLoadStrategy
equals
in class LinkLoadStrategyAdapter
hashCode
public int hashCode()
hashCode
in interface LinkLoadStrategy
hashCode
in class LinkLoadStrategyAdapter
toString
public java.lang.String toString()
toString
in class LinkLoadStrategyAdapter
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.