|
||||||||||
| 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.GravityTrafficModel
public class GravityTrafficModel
This class generates traffic using the gravity model.
Creation date: 2004
| Constructor Summary | |
|---|---|
GravityTrafficModel(AttractionFactor attraction,
RepulsionFactor repulsion,
FrictionFactor friction,
double scalingConstant)
Initialises a newly created GravityTrafficModel object. |
|
| Method Summary | |
|---|---|
double |
generate(Node origin,
Node destination)
Generates traffic using the gravity model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GravityTrafficModel(AttractionFactor attraction,
RepulsionFactor repulsion,
FrictionFactor friction,
double scalingConstant)
GravityTrafficModel object.
attraction - The attraction factor.repulsion - The repulsion factor.friction - The friction factor.scalingConstant - The scaling constant.| Method Detail |
|---|
public double generate(Node origin,
Node destination)
null.
generate in interface TrafficModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||