be.ac.ulg.montefiore.run.totem.topgen.traffic
Class RandomTrafficGenerator
java.lang.Object
be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractTrafficGenerator
be.ac.ulg.montefiore.run.totem.topgen.traffic.AbstractDistributionTrafficGenerator
be.ac.ulg.montefiore.run.totem.topgen.traffic.RandomTrafficGenerator
- All Implemented Interfaces:
- TrafficGeneratorInterface
public class RandomTrafficGenerator
- extends AbstractDistributionTrafficGenerator
Implemention of a traffic generator.
It generates traffic matrix elements randomly according to a Distribution
.
Creation date: 8 janv. 07
- Author:
- Georges Nimubona (nimubonageorges@hotmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomTrafficGenerator
public RandomTrafficGenerator()
- Initializes a newly created
RandomTrafficGenerator
object.
RandomTrafficGenerator
public RandomTrafficGenerator(java.util.HashMap<java.lang.String,java.lang.String> parameters)
throws InvalidParameterException
- Throws:
InvalidParameterException
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
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.