<< NL_G_HookeForce NL_G: Graph NL_G_JointDegreeDist >>

NARVAL >> NL_G: Graph > NL_G_InternalLinks

NL_G_InternalLinks

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

Calling Sequence

[I] = NL_G_InternalLinks(G,V)

Arguments

G :

Graph.

V :

Vector of nodes.

I :

Number of links.

Description

NL_G_InternalLinks performs the number of links I between the nodes of the set V inside the graph G.

For the set , I=6.

For the set , I=1.

Examples

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

Dependency

NL_G_Nodes2Edge

Report an issue
<< NL_G_HookeForce NL_G: Graph NL_G_JointDegreeDist >>