<< NARVAL_G_EdgeLength NARVAL NARVAL_G_EdgesOfNode >>

NARVAL >> NARVAL > NARVAL_G_EdgeNumber

NARVAL_G_EdgeNumber

Return the number of edges inside a graph.

Calling Sequence

[l]=NARVAL_G_EdgeNumber(g)

Parameters

g :

graph.

l :

number of edges.

Description

NARVAL_G_EdgeNumber computes the number of edges l inside the graph g.

Examples

n0=100;
l=1000;
d=100;
[g]=NARVAL_T_LocalityConnex(n0,l,d);//generation of a graph
ind=1;
f=NARVAL_G_ShowGraph(g,ind);
[l]=NARVAL_G_EdgeNumber(g);//application of NARVAL_G_EdgeNumber
l

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_EdgeLength NARVAL NARVAL_G_EdgesOfNode >>