<< NARVAL_G_NodeNeighborsD NARVAL NARVAL_G_Nodes2Edge >>

NARVAL >> NARVAL > NARVAL_G_NodeNumber

NARVAL_G_NodeNumber

Return the number of nodes inside a graph.

Calling Sequence

[n] = NARVAL_G_NodeNumber(g)

Parameters

g :

graph.

n :

number of nodes.

Description

NARVAL_G_NodeNumber computes the number of nodes n inside the graph g.

Examples

n0=100;//parameters
l=1000;
d=100;
[g]=NARVAL_T_LocalityConnex(n0,l,d);//generation of a graph
ind=1;//window index
f=NARVAL_G_ShowGraph(g,ind);//graph visualization
[n]=NARVAL_G_NodeNumber(g);//application of NARVAL_G_NodeNumber
n

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_NodeNeighborsD NARVAL NARVAL_G_Nodes2Edge >>