|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.chart.model.collectors.LinksLoadDataCollector
public class LinksLoadDataCollector
Compute the load of the links of a domain given a traffic matrix. The domain is, by default, the default domain at instantiation time. This can be overriden by a call to setParameters. The traffic matrix used is the one given to collectData or the default one if none is provided to collectData.
Creation date: 20 déc. 2005
Constructor Summary | |
---|---|
LinksLoadDataCollector()
|
Method Summary | |
---|---|
double[] |
collectData(java.util.HashMap<java.lang.String,java.lang.String> params)
return a vector of link load computed with the given trafficMatrix using a SPF strategy. |
java.util.List<ParameterDescriptor> |
getDataParameters()
returns a list of parameters that can be given to the collectData method |
java.lang.String |
getDefaultSeriesName()
Returns the identifier of the default link load computer as default series name |
java.util.List<ParameterDescriptor> |
getParameters()
returns a list of parameters that can be given to the setParameters method |
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> params)
The parameters are - asId : specify the asId of the domain to use for data collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinksLoadDataCollector()
Method Detail |
---|
public void setParameters(java.util.HashMap<java.lang.String,java.lang.String> params) throws ChartParameterException
setParameters
in interface ChartDataCollector
params
-
ChartParameterException
- if the given domain is not found in the InterDomainManagerpublic double[] collectData(java.util.HashMap<java.lang.String,java.lang.String> params) throws ChartParameterException
collectData
in interface ChartDataCollector
params
- :
ChartParameterException
- if tmId is NaN or the corresponding TrafficMatrix is not loaded, or if the domain is nullpublic java.util.List<ParameterDescriptor> getDataParameters()
ChartDataCollector
getDataParameters
in interface ChartDataCollector
public java.lang.String getDefaultSeriesName()
getDefaultSeriesName
in interface ChartDataCollector
public java.util.List<ParameterDescriptor> getParameters()
ChartDataCollector
getParameters
in interface ChartDataCollector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |