<< NARVAL_G_LocalClustering NARVAL NARVAL_G_MLClustering >>

NARVAL >> NARVAL > NARVAL_G_LongueurArc

NARVAL_G_LongueurArc

Perform the length of each edge of a graph.

Calling Sequence

[l] = NARVAL_G_LongueurArc(x,y,h,t)

Parameters

x :

x-coordinates of network nodes.

y :

y-coordinates of network nodes.

h :

head vector of network edges.

t :

head vector of network edges.

l :

length vector of network edges.

Description

NARVAL_G_LongueurArc performs the Euclidian distance vector l of all graph edges. These weights are used during the paths performance between network entities.

Examples

n=80;//network size
L=1000;//network square area side
dmax=100;//locality radius
[g]=NARVAL_T_LocalityConnex(n,L,dmax);//generation of a random topology in respect with the Locality method. 
ind=1;//window index
f=NARVAL_G_ShowGraph(g,ind);//graph visualization
[l]=NARVAL_G_LongueurArc(g.node_x,g.node_y,g.head,g.tail);//application of NARVAL_G_LongueurArc 
l

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_G_LocalClustering NARVAL NARVAL_G_MLClustering >>