Perform the indexes of all shortest paths where a node is present.
[ind]=NARVAL_R_NodeInPaths(ERT,i)
enhanced routing table.
node index.
list of indexes.
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.
[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 | ![]() | ![]() |