<< MobilityNodeRWP Network Topology Generator MobilityRandom_i_j_nf >>

Network Topology Generator >> Network Topology Generator > MobilityNodeRWPoint

MobilityNodeRWPoint

Generate the displacement of a node to a Point of Interest for a VANET around a rectangle.

Calling Sequence

[nx,ny,dx,dy,id,d,v,tn]=MobilityNodeRWPoint(nx,ny,dx,dy,id,Px,Py,d,v,tn,tnmax,vm,L)

Parameters

nx :

node x-coordinate (current position).

ny :

node y-coordinate (current position).

dx :

node PoI x-coordinate.

dy :

node PoI y-coordinate.

id :

PoI index.

Px :

next PoI x-coordinate.

Py :

next PoI x-coordinate.

d :

distance metric (current position to PoI).

v :

node velocity.

tn :

breaktime between two displacements (PoI-old to PoI-new).

tnmax :

maximum value of the breaktime parameter.

vm :

maximum value of the velocity parameter.

L :

network square area side.

Description

MobilityNodeRWPoint 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 for a VANET around a rectangle.

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.

Examples

nx=0;
ny=0;
dx=100;
dy=100;
id=1;
Px=100;
Py=100;
d=100;
v=10;
tn=0;
tnmax=50;
vm=100;
L=1000;
[nx,ny,dx,dy,id,d,v,tn]=MobilityNodeRWPoint(nx,ny,dx,dy,id,Px,Py,d,v,tn,tnmax,vm,L);//Application of MobilityNodeRWPoint
nx
ny
dx
dy
id
d
v
tn

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< MobilityNodeRWP Network Topology Generator MobilityRandom_i_j_nf >>