Restricted random waypoint model

From testwiki
Revision as of 02:15, 5 May 2024 by imported>David Eppstein (Silvia Giordano)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Orphan Template:Confusing In mobility management, the restricted random waypoint model is a random model for the movement of mobile users, similar to the random waypoint model, but where the waypoints are restricted to fall within one of a finite set of sub-domains. It was originally introduced by Blaževic et al.[1] in order to model intercity examples and later defined in a more general setting by Le Boudec et al.[2]

Definition

The restricted random waypoint models the trajectory of a mobile user in a connected domain A. Given a sequence of locations M0,M1,... in A, called waypoints, the trajectory of the mobile is defined by traveling from one waypoint Mn to the next Mn+1 along the shortest path in A between them. In the restricted setting, the waypoints are restricted to fall within one of a finite set of subdomains AiA.

On the trip between Mn and Mn+1, the mobile moves at constant speed Vn which is sampled from some distribution, usually a uniform distribution. The duration of the n-th trip is thus:

Sn=d(Mn,Mn+1)Vn

where d(x,y) is the length of the shortest path in A between x and y.

The mobile may also pause at a waypoint, in which case the n-th trip is a pause at the location of the n-th waypoint, i.e. Mn+1=Mn. A duration Sn is drawn from some distribution Fpause to indicate the end of the pause.

The transition instants Tn are the time at which the mobile reaches the n-th waypoint. They are defined as follow:

{T0 is chosen by some initialization rule Tn+1=Tn+Sn

The sampling algorithm for the waypoints depends on the phase of the simulation.

An initial phase I0=(i,j,r,p) is chosen according to some initialization rule.

  • i is the index of the current sub-domain Ai.
  • r is the remaining number of waypoints to sample from this sub-domain Ai.
  • j is the index of the next sub-domain.
  • And p{pause,move} indicates whether the n-th trip is a pause.

Given phase In=(i,j,r,p), the next phase In+1 is chosen as follows. If r>0 then p is sampled from some distribution and In+1=(i,j,r1,p). Otherwise, a new sub-domain k is sampled and a number r of trip to undergo in sub-domain j is sampled. The new phase is: In+1=(j,k,r,move).

Given a phase In=(i,j,r,p) the waypoint Mn+1 is set to Mn if p=pause. Otherwise, it is sampled from sub-domain Ai if r>0 and from sub-domain Aj if r=0.

Transient and stationary period

In a typical simulation models, when the condition for stability is satisfied, simulation runs go through a transient period and converge to the stationary regime. It is important to remove the transients for performing meaningful comparisons of, for example, different mobility regimes. A standard method for avoiding such a bias is to (i) make sure the used model has a stationary regime and (ii) remove the beginning of all simulation runs in the hope that long runs converge to stationary regime. However the length of transients may be prohibitively long for even simple mobility models and a major difficulty is to know when the transient ends.[2] An alternative, called "perfect simulation", is to sample the initial simulation state from the stationary regime.

There exists algorithms for perfect simulation of the general restricted random waypoint. They are described in Perfect simulation and stationarity of a class of mobility models (2005)[2] and a Python implementation is available on GitHub.[3]

References

Template:Reflist