<< NARVAL_M_NodeRWP NARVAL NARVAL_M_Random_i_j_nf >>

NARVAL >> NARVAL > NARVAL_M_NodeRWPoint

NARVAL_M_NodeRWPoint

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

Calling Sequence

[nx,ny,dx,dy,id,d,v,tn] = NARVAL_M_NodeRWPoint(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

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.

Examples

nx=0;//node x-coordinate
ny=0;//node y-coordinate
dx=100;//PoI x-coordinate
dy=100;//PoI y-coordinate
id=1;//road index
Px=100;//next PoI x-coordinate
Py=100;//next PoI y-coordinate
d=100;//distance
v=10;//speed
tn=0;//pause time
tnmax=50;//maximal pause time
vm=100;//maximal speed
L=1000;//network square area side
[nx,ny,dx,dy,id,d,v,tn]=NARVAL_M_NodeRWPoint(nx,ny,dx,dy,id,Px,Py,d,v,tn,tnmax,vm,L);//application of NARVAL_M_NodeRWPoint
nx
ny
dx
dy
id
d
v
tn

Authors

Foued Melakessou

Contact

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

Home Page


<< NARVAL_M_NodeRWP NARVAL NARVAL_M_Random_i_j_nf >>