Transform a list of nodes into the corresponding list of edges.
[p] = NARVAL_G_Nodes2Path(ns,g)
list of nodes.
network graph.
list of links.
NARVAL_G_Nodes2Path transforms the list of nodes ns of the graph g into the corresponding list of edges p. If there is a path following each successive nodes of ns, then the corresponding vector of successive links p is generated. Otherwise p is empty.
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