at.ftw.repository.lspDimensioning
Class LSPDimensioning

java.lang.Object
  extended by at.ftw.repository.lspDimensioning.LSPDimensioning
All Implemented Interfaces:
TotemAlgorithm

public class LSPDimensioning
extends java.lang.Object
implements TotemAlgorithm

This class is the Java part of the LSPDimensioning algorithm.

The start method needs the following parameters:

Creation date : 20 juin 2005 11:09:53

Author:
Simon Balon (balon@run.montefiore.ulg.ac.be), Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)

Constructor Summary
LSPDimensioning()
           
 
Method Summary
 float computeBWAssign(float[] samples)
           
 java.util.HashMap getRunningParameters()
          Returns the parameters given when the algorithm was started
 java.util.List<ParameterDescriptor> getStartAlgoParameters()
          Returns the optional parameters that can be given when starting the algorithm
 void start(java.util.HashMap params)
          Used to start and initialize the algorithm
 void stop()
          Used to stop the algorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSPDimensioning

public LSPDimensioning()
Method Detail

start

public void start(java.util.HashMap params)
           throws AlgorithmInitialisationException
Description copied from interface: TotemAlgorithm
Used to start and initialize the algorithm

Specified by:
start in interface TotemAlgorithm
Throws:
AlgorithmInitialisationException

stop

public void stop()
Description copied from interface: TotemAlgorithm
Used to stop the algorithm

Specified by:
stop in interface TotemAlgorithm

computeBWAssign

public float computeBWAssign(float[] samples)

getStartAlgoParameters

public java.util.List<ParameterDescriptor> getStartAlgoParameters()
Description copied from interface: TotemAlgorithm
Returns the optional parameters that can be given when starting the algorithm

Specified by:
getStartAlgoParameters in interface TotemAlgorithm
Returns:
the list of algorithm parameters

getRunningParameters

public java.util.HashMap getRunningParameters()
Description copied from interface: TotemAlgorithm
Returns the parameters given when the algorithm was started

Specified by:
getRunningParameters in interface TotemAlgorithm
Returns:


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