|
||||||||||
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.ConstantTrafficModel
public class ConstantTrafficModel
This class generates a constant traffic for all origin-destination pairs
Creation date: 6 sept. 2006
Constructor Summary | |
---|---|
ConstantTrafficModel(float value)
|
Method Summary | |
---|---|
double |
generate(Node origin,
Node destination)
Generates traffic between origin and
destination . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantTrafficModel(float value)
Method Detail |
---|
public double generate(Node origin, Node destination)
origin
and
destination
.
generate
in interface TrafficModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |