|
||||||||||
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)
returns true if the LinkLoadComputer uses the same parameters as the object o. |
SPF |
getSPFAlgo()
Get the SPF (Shortest Path First algorithm) property. |
int |
hashCode()
|
boolean |
isECMP()
Get the ECMP (Equal-Cost Multi-Path) property. |
void |
setECMP(boolean ECMP)
Set the ECMP (Equal-Cost Multi-Path) property. |
void |
setSPFAlgo(SPF spf)
Set the SPF (Shortest Path First algorithm) property. |
void |
setTm(TrafficMatrix tm)
Sets the traffic matrix to use with computation |
java.lang.String |
toString()
|
Methods inherited from interface be.ac.ulg.montefiore.run.totem.trafficMatrix.model.LinkLoadComputer |
---|
addListener, destroy, detachData, getData, getDomain, getShortName, getTrafficMatrices, invalidate, isUpToDate, recompute, removeListener, startListening, stopListening, update |
Method Detail |
---|
void setTm(TrafficMatrix tm)
tm
- boolean isECMP()
void setECMP(boolean ECMP)
ECMP
- true if equal-cost multi-path must be activated and false otherwiseSPF getSPFAlgo()
void setSPFAlgo(SPF spf)
spf
- the SPF to use in the link load computationboolean equals(java.lang.Object o)
LinkLoadComputer
equals
in interface LinkLoadComputer
equals
in class java.lang.Object
int hashCode()
hashCode
in interface LinkLoadComputer
hashCode
in class java.lang.Object
java.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 |