<< NL_R_PathWeightChange NL_R: Routing NL_R_PredecessorRoute >>

NARVAL >> NL_R: Routing > NL_R_PathsWithNi

NL_R_PathsWithNi

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

Calling Sequence

[L] = NL_R_PathsWithNi(R,I)

Arguments

R :

Enhanced routing table.

I :

Node index.

L :

List of indexes.

Description

NL_R_PathsWithNi performs the list of indexes of all the shortest paths stored in the enhanced routing table R of a graph where the node I is present.

Examples

[path]=NL_F_NLPath();//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;//node index
[ind]=NL_R_PathsWithNi(rt1,i)//application of NL_R_PathsWithNi

Report an issue
<< NL_R_PathWeightChange NL_R: Routing NL_R_PredecessorRoute >>