Generate the displacement of a node towards a Point of Interest.
[nx,ny,dx,dy,d,v,tn] = NARVAL_M_NodeRWP(nx,ny,dx,dy,d,v,tn,tnmax,vm,L)
node x-coordinate (current position).
node y-coordinate (current position).
node PoI x-coordinate.
node PoI y-coordinate.
distance metric (current position to PoI).
node velocity.
breaktime between two displacements (PoI-old to PoI-new).
maximum value of the breaktime parameter.
maximum value of the velocity parameter.
network square area side.
NARVAL_M_NodeRWP generates the displacement of the node currently located in (nx,ny) towards the Point of Interest (dx,dy) distant of d, at the speed equal to v.
When the node reaches the PoI, it stays there for the time duration tn. Afterwards it selects a new PoI, a new velocity, and a new breaktime for the new PoI.
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