be.ac.ulg.montefiore.run.totem.topgen.traffic
Class ConstantTrafficGenerator

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
      extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.ConstantTrafficGenerator
All Implemented Interfaces:
TrafficGeneratorInterface

public class ConstantTrafficGenerator
extends AbstractTrafficGenerator

Generate traffic matrices for which each pair src-dst has the same traffic value.

Creation date: 29/10/2007

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

Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
domain, nodes, parameters
 
Constructor Summary
ConstantTrafficGenerator()
           
 
Method Summary
protected  TrafficMatrix buildTM()
          Build a TrafficMatrix.
 java.util.List<ParameterDescriptor> getAvailableParameters()
          Returns a list of parameters that can be used with the generator.
protected  void initialize_generation()
          Initialize the generation of traffic matrices.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
findParam, generate, getParam, setParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantTrafficGenerator

public ConstantTrafficGenerator()
Method Detail

buildTM

protected TrafficMatrix buildTM()
                         throws TMBuildingException
Description copied from class: AbstractTrafficGenerator
Build a TrafficMatrix.

Specified by:
buildTM in class AbstractTrafficGenerator
Returns:
Throws:
TMBuildingException

initialize_generation

protected void initialize_generation()
                              throws InvalidParameterException
Description copied from class: AbstractTrafficGenerator
Initialize the generation of traffic matrices. Should fetch class specific parameters and prepare the data structures.

Specified by:
initialize_generation in class AbstractTrafficGenerator
Throws:
InvalidParameterException

getAvailableParameters

public java.util.List<ParameterDescriptor> getAvailableParameters()
Description copied from interface: TrafficGeneratorInterface
Returns a list of parameters that can be used with the generator.

Specified by:
getAvailableParameters in interface TrafficGeneratorInterface
Overrides:
getAvailableParameters in class AbstractTrafficGenerator
Returns:


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