<< 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 IL.

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;
f=NARVAL_G_ShowGraph(g,ind);
[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 
IL

Dependency

NARVAL_G_Nodes2Edge

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_HookeForce NARVAL NARVAL_G_JDD >>