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

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

public class CapacityRepulsionFactor
extends java.lang.Object
implements RepulsionFactor

This class can be used as a repulsion factor.

Creation date: 2004

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

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

Constructor Detail

CapacityRepulsionFactor

public CapacityRepulsionFactor()
Method Detail

generate

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

Specified by:
generate in interface RepulsionFactor


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