Return a Waxman-2 random topology.
The Waxman-2 random topology models place n nodes uniformly at random in a rectangular domain. Two nodes u, v are connected with a link with probability
where the distance d is the Euclidean distance between the nodes u and v. and L is the maximum distance between all nodes in the graph.
Parameters : | n : int
alpha : float
beta : float
domain : tuple of numbers, optional
seed : int, optional
|
---|---|
Returns : | G : Topology |
Notes
Each edge of G has the attribute length
References
[R23] | B. M. Waxman, Routing of multipoint connections. IEEE J. Select. Areas Commun. 6(9),(1988) 1617-1622. |