<< NARVAL_R_MPathERT NARVAL NARVAL_R_PathERT >>

NARVAL >> NARVAL > NARVAL_R_NodeInPaths

NARVAL_R_NodeInPaths

Perform the indexes of all shortest paths where a node is present.

Calling Sequence

[ind]=NARVAL_R_NodeInPaths(ERT,i)

Parameters

ERT :

enhanced routing table.

i :

node index.

ind :

list of indexes.

Description

NARVAL_R_NodeInPaths performs the list of indexes of all shortest paths stored in the enhanced routing table ERT of a graph where the node i is present.

Examples

[path]=NARVAL_F_NARVALPath();//path to NARVAL module
path=path+'/demos/';//folder path
load(path+'RoutingTables_topo_100.dat','pt','rt1','rt2','rt3','rt4','rt5');//loading of the network routing tables
i=1;
[ind]=NARVAL_R_NodeInPaths(rt1,i);//application of NARVAL_R_NodeInPaths
ind

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_R_MPathERT NARVAL NARVAL_R_PathERT >>