<< NARVAL_G_MaxNodeDegree NARVAL NARVAL_G_NodeNeighbors >>

NARVAL >> NARVAL > NARVAL_G_NodeDataFields

NARVAL_G_NodeDataFields

Return the most important node data fields of a graph.

Calling Sequence

[n_x,n_y,n_border,n_diameter,n_color,n_number] = NARVAL_G_NodeDataFields(g)

Parameters

g :

network graph.

n_x :

nodes x-coordinates.

n_y :

nodes y-coordinates.

n_border :

nodes border.

n_diameter :

nodes diameter.

n_color :

nodes color.

n_number :

number of nodes.

Description

NARVAL_G_NodeDataFields returns the most important nodes parameter of the graph g. n_x (respectivelly n_y) is composed by the x-coordinate (respectivelly y-coordinate) of each node. Visualization parameters are composed by the nodes border n_border, the nodes diameter n_diameter, and the nodes color n_color. n_number provides the number of nodes of the graph.

Examples

nn=150;//network size
L=1000;//network square area side
dmax=100;//Locality radius
[g]=NARVAL_T_LocalityConnex(nn,L,dmax);//generation of a topology in respect with the Locality method
ind=1;//window index
[f]=NARVAL_G_ShowGraph(g,ind);//graph visualization
[n_x,n_y,n_border,n_diameter,n_color,n_number]=NARVAL_G_NodeDataFields(g);//application of NARVAL_G_NodeDataFields
n_x
n_y
n_border
n_diameter
n_color
n_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_MaxNodeDegree NARVAL NARVAL_G_NodeNeighbors >>