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

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

public class DistributionFrictionFactor
extends java.lang.Object
implements FrictionFactor

This class implements the FrictionFactor interface using the probability distributions.

Creation date: 2004

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

Constructor Summary
DistributionFrictionFactor(Distribution distribution)
           
 
Method Summary
 double generate(Node origin, Node destination)
          This method generates a friction factor between origin and destination using distribution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributionFrictionFactor

public DistributionFrictionFactor(Distribution distribution)
Method Detail

generate

public double generate(Node origin,
                       Node destination)
This method generates a friction factor between origin and destination using distribution. The parameters are not taken into account.

Specified by:
generate in interface FrictionFactor


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