Network Topology Generator
Last update : 1/3/2007
circleplace - Connect a central network around a node
Calling Sequence
-
[ge]=circleplace(N,D,g,ind)
Parameters
-
N
: neightbor nodes quantity
-
D
: Maximal radius from the central node
-
g
: network graph
-
ind
: central node index
-
ge
: union graph
Description
-
Connect N nodes around a central node with index ind in the original graph g. They are placed randomly in a disc centered in the node ind with the radius D (D/2--D).
Examples
D=300;
L=1000;
n=30;
[g]=ntg_locality(D,L,n);
[ge]=circleplace(20,100,g,13);
show_graph(ge);
Authors
-
Foued Melakessou
University of Luxembourg
Bibliography
InTra Project 2004-2007
Used Function
circleplace.