<< NARVAL_G_HookeForce NARVAL NARVAL_G_JDD >>

NARVAL >> NARVAL > NARVAL_G_InternLinks

NARVAL_G_InternLinks

Perform the number of internal links of a set of nodes.

Calling Sequence

[IL] = NARVAL_G_InternLinks(g,v)

Parameters

g :

graph.

v :

vector of nodes.

IL :

number of links.

Description

NARVAL_G_InternLinks performs the number of links IL between nodes of the set v inside the graph g.

For the set [N10,N12,N15,N16,N17,N20], IL=6.

For the set [N5,N8,N11], IL=1.

Examples

[path]=NARVAL_F_NARVALPath();//path to NARVAL module
path=path+'/demos/';//folder path
name='topo_20.topo';//file name
Lxmin=100;
Lxmax=900;
Lymin=100;
Lymax=900;
[g]=NARVAL_T_UploadTopology(path,name,Lxmin,Lxmax,Lymin,Lymax);//upload of a graph
ind=1;//window index
f=NARVAL_G_ShowNodesIndex(g,ind);//graph visualization
[neigh]=NARVAL_G_NodeNeighbors(6,g);//selection of the neighborhood of the node 6
[IL]=NARVAL_G_InternLinks(g,neigh);//application of NARVAL_G_InternLinks 
neigh
IL

Dependency

NARVAL_G_Nodes2Edge

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_HookeForce NARVAL NARVAL_G_JDD >>