<< NARVAL_G_EdgeNumber NARVAL NARVAL_G_ForceBasedA >>

NARVAL >> NARVAL > NARVAL_G_EdgesOfNode

NARVAL_G_EdgesOfNode

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

Calling Sequence

[e]=NARVAL_G_EdgesOfNode(g,i)

Parameters

g :

graph.

i :

node index.

e :

edges.

Description

NARVAL_G_EdgesOfNode return the set 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);
ind=1;
f=NARVAL_G_ShowGraph(g,ind);
i=3;//node index
[e]=NARVAL_G_EdgesOfNode(g,i);//application of NARVAL_G_EdgesOfNode
e

Dependency

NARVAL_G_NodeNeighbors, NARVAL_G_Nodes2Edge

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_EdgeNumber NARVAL NARVAL_G_ForceBasedA >>