be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.report.impl
Class LoadWIReport

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.report.LinksWIReport
      extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.report.impl.LoadWIReport
All Implemented Interfaces:
WIReport

public class LoadWIReport
extends LinksWIReport

The data collected by this class is the load obtained by routing the default traffic matrix with a standard CSPF and a SPFLinkLoadStrategy. This class does not have charts.

Creation date: 23/04/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.report.LinksWIReport
domain, finalData, initialData
 
Constructor Summary
LoadWIReport(Domain domain, LinkLoadStrategy lls)
           
 
Method Summary
 void computeFinalData()
          Save the final data in its internal state.
 void computeInitialData()
          Save the initial data in its internal state.
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Returns a name corresponding to the type of report and its parameters.
 java.lang.String getShortName()
          Returns the name of the type of report.
protected  boolean hasCharts()
          Must return true if a chart can be display by the LinksWIReport.showCharts() method.
protected  void showCharts()
          Show the charts.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.report.LinksWIReport
getPanel, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadWIReport

public LoadWIReport(Domain domain,
                    LinkLoadStrategy lls)
Method Detail

hasCharts

protected boolean hasCharts()
Description copied from class: LinksWIReport
Must return true if a chart can be display by the LinksWIReport.showCharts() method. In this case a button will be added to the panel.

Specified by:
hasCharts in class LinksWIReport
Returns:

showCharts

protected void showCharts()
Description copied from class: LinksWIReport
Show the charts. This method is called only if LinksWIReport.hasCharts() returns true.

Specified by:
showCharts in class LinksWIReport

computeInitialData

public void computeInitialData()
Description copied from interface: WIReport
Save the initial data in its internal state.


computeFinalData

public void computeFinalData()
Description copied from interface: WIReport
Save the final data in its internal state.


getName

public java.lang.String getName()
Description copied from interface: WIReport
Returns a name corresponding to the type of report and its parameters.

Returns:

getShortName

public java.lang.String getShortName()
Description copied from interface: WIReport
Returns the name of the type of report.

Returns:

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


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