<< NARVAL_G_EdgeNumber NARVAL NARVAL_G_FloodLeaves >>

NARVAL >> NARVAL > NARVAL_G_EdgesOfNode

NARVAL_G_EdgesOfNode

Return the set of edges connected to a node inside a graph.

Calling Sequence

[e] = NARVAL_G_EdgesOfNode(g,i)

Parameters

g :

graph.

i :

node index.

e :

list of edges.

Description

NARVAL_G_EdgesOfNode returns the set of edges e connected to the node i inside the graph g.

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);//graph loading
ind=1;//window index
f=NARVAL_G_ShowNodesEdges(g,ind);//graph visualization
i=3;//node index
[e]=NARVAL_G_EdgesOfNode(g,i);//application of NARVAL_G_EdgesOfNode
e

Dependency

NARVAL_G_NodeNeighbors, 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_EdgeNumber NARVAL NARVAL_G_FloodLeaves >>