|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.topgen.traffic.model.SyntheticTrafficModel
public class SyntheticTrafficModel
This class generates traffic using the probability distributions.
Creation date: 2004
Constructor Summary | |
---|---|
SyntheticTrafficModel(Distribution distribution)
Initialises a newly created SyntheticTrafficModel object. |
Method Summary | |
---|---|
double |
generate(Node origin,
Node destination)
Generates traffic between the two nodes according to the given distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyntheticTrafficModel(Distribution distribution)
SyntheticTrafficModel
object.
distribution
- The distribution to be used.Method Detail |
---|
public double generate(Node origin, Node destination)
generate
in interface TrafficModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |