be.ac.ulg.montefiore.run.totem.repository.bgpAwareIGPWO.GenericBGPAwareLwo
Class SaBgpAwareLwo

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.bgpAwareIGPWO.GenericBGPAwareLwo.SaBgpAwareLwo
All Implemented Interfaces:
IGPWeightOptimization, TotemAlgorithm

public class SaBgpAwareLwo
extends java.lang.Object
implements IGPWeightOptimization

Creation date: 11 sept. 2007

Author:
Simon Balon (balon@run.montefiore.ulg.ac.be) This is the main class of the simulated annealing version of a generic BGP-aware version of a link weight optimizer. This optimizer can optimize link weights considering the hot-potato reroutings that occurs in the network, for any iBGP configuration, considering iBGP multipath or not, and with the ability to "block" egress points.

Field Summary
 boolean avoidHPReroutings
           
 boolean includeInterDomainLinksInObjFunction
           
static int maxLinkWeight
           
 
Constructor Summary
SaBgpAwareLwo()
           
 
Method Summary
 TotemActionList calculateWeights(int ASID, int[] TMID)
           
 java.util.HashMap getRunningParameters()
          Returns the parameters given when the algorithm was started
 java.util.List<ParameterDescriptor> getStartAlgoParameters()
          Returns the optional parameters that can be given when starting the algorithm
 void start(java.util.HashMap params)
          Used to start and initialize the algorithm
 void stop()
          Used to stop the algorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includeInterDomainLinksInObjFunction

public boolean includeInterDomainLinksInObjFunction

avoidHPReroutings

public boolean avoidHPReroutings

maxLinkWeight

public static int maxLinkWeight
Constructor Detail

SaBgpAwareLwo

public SaBgpAwareLwo()
Method Detail

calculateWeights

public TotemActionList calculateWeights(int ASID,
                                        int[] TMID)
                                 throws java.lang.Exception
Specified by:
calculateWeights in interface IGPWeightOptimization
Throws:
java.lang.Exception

start

public void start(java.util.HashMap params)
           throws AlgorithmInitialisationException
Used to start and initialize the algorithm

Specified by:
start in interface TotemAlgorithm
Throws:
AlgorithmInitialisationException

stop

public void stop()
Used to stop the algorithm

Specified by:
stop in interface TotemAlgorithm

getStartAlgoParameters

public java.util.List<ParameterDescriptor> getStartAlgoParameters()
Returns the optional parameters that can be given when starting the algorithm

Specified by:
getStartAlgoParameters in interface TotemAlgorithm
Returns:
the list of algorithm parameters

getRunningParameters

public java.util.HashMap getRunningParameters()
Returns the parameters given when the algorithm was started

Specified by:
getRunningParameters in interface TotemAlgorithm
Returns:


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.