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

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
      extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractDistributionTrafficGenerator
All Implemented Interfaces:
TrafficGeneratorInterface
Direct Known Subclasses:
GravityTrafficGenerator, RandomTrafficGenerator

public abstract class AbstractDistributionTrafficGenerator
extends AbstractTrafficGenerator

TrafficGenerator that uses a distribution. Some specific parameters should be given.

Creation date: 29/10/2007

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

Field Summary
protected  Distribution dis
           
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
domain, nodes, parameters
 
Constructor Summary
AbstractDistributionTrafficGenerator()
           
 
Method Summary
 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
buildTM, findParam, generate, getParam, setParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dis

protected Distribution dis
Constructor Detail

AbstractDistributionTrafficGenerator

public AbstractDistributionTrafficGenerator()
Method Detail

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.