Generate the displacement of a node to a Point of Interest for a VANET (rectangle).
[nx,ny,dx,dy,id,d,v,tn] = NARVAL_M_NodeRWPoint(nx,ny,dx,dy,id,Px,Py,d,v,tn,tnmax,vm,L)
node x-coordinate (current position).
node y-coordinate (current position).
node PoI x-coordinate.
node PoI y-coordinate.
PoI index.
next PoI x-coordinate.
next PoI x-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_NodeRWPoint generates the displacement of the node currently located in (nx,ny) to the Point of Interest (dx,dy) distant of d, at the speed v for the following VANET (rectangle).
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