Perform the Euclidean distance between the current position of a node and its destination (Point of Interest).
[d] = NARVAL_M_DistanceNPoi(nx,ny,dx,dy)
node x-coordinate (current position).
node y-coordinate (current position).
node PoI x-coordinate.
node PoI y-coordinate.
Euclidean distance.
NARVAL_M_DistanceNPoi performs the Euclidean distance d between the current position of the node n located in (nx,ny) and its destination (px,py) (Point of Interest).
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