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

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
          extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.GravityTrafficGenerator
All Implemented Interfaces:
TrafficGeneratorInterface

public class GravityTrafficGenerator
extends AbstractDistributionTrafficGenerator

Gravity traffic matrix generator. It uses attraction/repulsion/friction scheme. If teh FrictionFactor parameter is DistributionFriction, distribution parameters defined in AbstractDistributionTrafficGenerator should be provided.

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.AbstractDistributionTrafficGenerator
dis
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
domain, nodes, parameters
 
Constructor Summary
GravityTrafficGenerator()
           
 
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

GravityTrafficGenerator

public GravityTrafficGenerator()
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.

Overrides:
initialize_generation in class AbstractDistributionTrafficGenerator
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 AbstractDistributionTrafficGenerator
Returns:


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