Generate the displacement of a node towards a Point of Interest.
[nx,ny,dx,dy,d,v,tn]=MobilityNodeRWP(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.
MobilityNodeRWP generates the displacement of a node currently located in (nx,ny) to the Point of Interest (dx,dy) distant of d, at a speed equal to v.
When the node reaches the PoI, it stays there for a time duration of tn. Afterwards it selects a new PoI, a new velocity, and a new breaktime for the new PoI.