|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LinkLoadStrategy
Define the behavior of a link load computation stategy. Different strategies are shortest path first, basic IGP shortcut, IGP shortcut, etc. Theses strategies of link load computation are implemented using a strategy pattern. Three properties can be used to control the computation :
Creation date: 28-Jun-2005 17:28:54
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
SPF |
getSPFAlgo()
Get the SPF (Shortest Path First algorithm) property. |
int |
hashCode()
|
boolean |
isECMP()
Get the ECMP (Equal-Cost Multi-Path) property. |
boolean |
isReuseComputedPath()
Get the reuseComputedPath property. |
boolean |
isStopOnError()
Get the StopOnError property. |
void |
setECMP(boolean ECMP)
Set the ECMP (Equal-Cost Multi-Path) property. |
void |
setReuseComputedPath(boolean reuseComputedPath)
Set the reuseComputedPath property |
void |
setSPFAlgo(SPF spf)
Set the SPF (Shortest Path First algorithm) property. |
void |
setStopOnError(boolean stopOnError)
Set the StopOnError property. |
java.lang.String |
toString()
|
| Methods inherited from interface be.ac.ulg.montefiore.run.totem.trafficMatrix.model.TmLoadComputer |
|---|
compute |
| Method Detail |
|---|
boolean isECMP()
void setECMP(boolean ECMP)
ECMP - true if equal-cost multi-path must be activated and false otherwiseboolean isStopOnError()
void setStopOnError(boolean stopOnError)
stopOnError - false if the computation must continue after a NoRouteToHostException or a RoutingException occurs and true otherwiseSPF getSPFAlgo()
void setSPFAlgo(SPF spf)
spf - the SPF to use in the link load computationboolean isReuseComputedPath()
void setReuseComputedPath(boolean reuseComputedPath)
reuseComputedPath - true if the linkLoadCompution must reuse the already computed path and false otherwiseboolean equals(java.lang.Object o)
equals in class java.lang.Objectint hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||