<< NARVAL_G_Edge2Nodes NARVAL NARVAL_G_EdgeLength >>

NARVAL >> NARVAL > NARVAL_G_EdgeDataFields

NARVAL_G_EdgeDataFields

Return the most important edge data fields of a graph.

Calling Sequence

[e_head,e_tail,e_color,e_width,e_length,e_weight,e_number] = NARVAL_G_EdgeDataFields(g)

Parameters

g :

network graph.

e_head :

starting node of each edge.

e_tail :

ending node of each edge.

e_color :

color of each edge.

e_width :

edges of each edge.

e_length :

length of each edge.

e_weight :

weight of each edge.

e_number :

number of edges.

Description

NARVAL_G_EdgeDataFields returns the most important edges parameters of the graph g. e_head (respectivelly e_tail) is composed by the starting (respectivelly ending) node of each edge. Visualization parameters are composed by the edges color e_color and the edges width e_width. e_length (respectivelly e_weight) stores the length (respectivelly the weight) of each edge. e_number provides the number of edges of the graph.

Examples

n=150;//network size
L=1000;//network square area side
dmax=100;//Locality radius
[g]=NARVAL_T_LocalityConnex(n,L,dmax);//generation of a topology in respect with the Locality method
ind=1;//window index
[f]=NARVAL_G_ShowEdgesIndex(g,ind);//graph visualization
[e_head,e_tail,e_color,e_width,e_length,e_weight,e_number]=NARVAL_G_EdgeDataFields(g);//application of NARVAL_G_EdgeDataFields
e_head
e_tail
e_color
e_width
e_length
e_weight
e_number

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_Edge2Nodes NARVAL NARVAL_G_EdgeLength >>