be.ac.ulg.montefiore.run.totem.visualtopo.guiModules
Class IGPWOGUIModule

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.AbstractGUIModule
      extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.IGPWOGUIModule
All Implemented Interfaces:
GUIModule

public class IGPWOGUIModule
extends AbstractGUIModule

Module to perform IGPWO calculations Singleton class. An instance can be obntained by the static method getInstance()

Creation date: 9 nov. 2005

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

Nested Class Summary
 class IGPWOGUIModule.OptimizeWeightListener
           
 class IGPWOGUIModule.ViewReportListener
           
 
Constructor Summary
IGPWOGUIModule()
          a private constructor
 
Method Summary
 void displayReport()
          Display the report generated by the IGPWO algorithm
 javax.swing.JMenu getMenu()
          The method should return the menu you want to add to the gui
 java.lang.String getName()
          Returns the GUIModule's name
 boolean loadAtStartup()
          Should the Module be loaded at GUI startup ?
 void startAlgoWo(int nbIter, int nbWeight, double minSR, double maxSR, double initSR, boolean random, int seed, int[] TMIds, boolean interDomainLinks, boolean bgpAware)
          Compute Link weight with IGPWO and display a report
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.AbstractGUIModule
initialize, isUnloadable, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGPWOGUIModule

public IGPWOGUIModule()
a private constructor

Method Detail

getMenu

public javax.swing.JMenu getMenu()
Description copied from interface: GUIModule
The method should return the menu you want to add to the gui

Returns:

getName

public java.lang.String getName()
Description copied from interface: GUIModule
Returns the GUIModule's name

Returns:
the GUIModule's name

displayReport

public void displayReport()
Display the report generated by the IGPWO algorithm


startAlgoWo

public void startAlgoWo(int nbIter,
                        int nbWeight,
                        double minSR,
                        double maxSR,
                        double initSR,
                        boolean random,
                        int seed,
                        int[] TMIds,
                        boolean interDomainLinks,
                        boolean bgpAware)
Compute Link weight with IGPWO and display a report

Parameters:
nbIter -
nbWeight -
minSR -
maxSR -
initSR -
random -
seed -

loadAtStartup

public boolean loadAtStartup()
Description copied from class: AbstractGUIModule
Should the Module be loaded at GUI startup ?

Specified by:
loadAtStartup in interface GUIModule
Overrides:
loadAtStartup in class AbstractGUIModule
Returns:
false


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