be.ac.ulg.montefiore.run.totem.topgen.traffic.model
Class CapacityAttractionFactor

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.model.CapacityAttractionFactor
All Implemented Interfaces:
AttractionFactor

public class CapacityAttractionFactor
extends java.lang.Object
implements AttractionFactor

This class can be used as an attraction factor.

Creation date: 2004

Author:
Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)

Constructor Summary
CapacityAttractionFactor()
           
 
Method Summary
 double generate(Node node)
          Generates traffic to the node node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapacityAttractionFactor

public CapacityAttractionFactor()
Method Detail

generate

public double generate(Node node)
Generates traffic to the node node. The amount of traffic is equal to the sum of the capacity of the output links of node.

Specified by:
generate in interface AttractionFactor


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