be.ac.ulg.montefiore.run.totem.topgen.topology
Class WrapperBrite

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.topgen.topology.AbstractTopologyGenerator
      extended by be.ac.ulg.montefiore.run.totem.topgen.topology.WrapperBrite
All Implemented Interfaces:
TopologyGenerator

public class WrapperBrite
extends AbstractTopologyGenerator

A wrapper for Brite

Creation date: Apr 25, 2007

Author:
Jean Lepropre (lepropre@run.montefiore.ulg.ac.be), Georges Nimubona (nimubonageorges@hotmail.com), Gael Monfort (monfort@run.montefiore.ulg.ac.be)

Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.topgen.topology.AbstractTopologyGenerator
parameters
 
Constructor Summary
WrapperBrite()
          Initializes a newly created WrapperBrite object.
 
Method Summary
 java.util.List<Domain> generate()
          This method generates topology with the setted parameters.
 java.util.List<ParameterDescriptor> getAvailableParameters()
          Returns a list of parameters that can be used with the generator
 byte getStep()
          Gives the current step of the generation.
 void printParams()
          Debug
 void reset()
          Resets an existing WrapperBrite object.
 void setStep(byte step)
          Sets the current step of the generation.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.topgen.topology.AbstractTopologyGenerator
findParam, getBooleanParameter, getDoubleParameter, getFloatParameter, getIntegerParameter, getParam, getStringParameter, setParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperBrite

public WrapperBrite()
Initializes a newly created WrapperBrite object.

Method Detail

generate

public java.util.List<Domain> generate()
                                throws TopologyGeneratorException
Description copied from interface: TopologyGenerator
This method generates topology with the setted parameters.

Throws:
TopologyGeneratorException

getAvailableParameters

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

Specified by:
getAvailableParameters in interface TopologyGenerator
Overrides:
getAvailableParameters in class AbstractTopologyGenerator
Returns:

printParams

public void printParams()
Debug


getStep

public byte getStep()
Gives the current step of the generation. First Step is 0.

Returns:
The current step of the generation.

reset

public void reset()
Resets an existing WrapperBrite object. This function exists to permit several generations within the same session.


setStep

public void setStep(byte step)
Sets the current step of the generation.



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