Engineering:Restricted random waypoint model

From HandWiki
Short description: Simulation of wireless network users

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 [math]\displaystyle{ A }[/math]. Given a sequence of locations [math]\displaystyle{ M_0, M_1, ... }[/math] in [math]\displaystyle{ A }[/math], called waypoints, the trajectory of the mobile is defined by traveling from one waypoint [math]\displaystyle{ M_n }[/math] to the next [math]\displaystyle{ M_{n+1} }[/math] along the shortest path in [math]\displaystyle{ A }[/math] between them. In the restricted setting, the waypoints are restricted to fall within one of a finite set of subdomains [math]\displaystyle{ A_i \subset A }[/math].

On the trip between [math]\displaystyle{ M_n }[/math] and [math]\displaystyle{ M_{n+1} }[/math], the mobile moves at constant speed [math]\displaystyle{ V_n }[/math] which is sampled from some distribution, usually a uniform distribution. The duration of the [math]\displaystyle{ n }[/math]-th trip is thus:

[math]\displaystyle{ S_n = \frac{d(M_n, M_{n+1})}{V_n} }[/math]

where [math]\displaystyle{ d(x, y) }[/math] is the length of the shortest path in [math]\displaystyle{ A }[/math] between [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math].

The mobile may also pause at a waypoint, in which case the [math]\displaystyle{ n }[/math]-th trip is a pause at the location of the [math]\displaystyle{ n }[/math]-th waypoint, i.e. [math]\displaystyle{ M_{n+1} = M_n }[/math]. A duration [math]\displaystyle{ S_n }[/math] is drawn from some distribution [math]\displaystyle{ F_{\text{pause}} }[/math] to indicate the end of the pause.

The transition instants [math]\displaystyle{ T_n }[/math] are the time at which the mobile reaches the [math]\displaystyle{ n }[/math]-th waypoint. They are defined as follow:

[math]\displaystyle{ \begin{cases}T_0 \text{ is chosen by some initialization rule } \\ T_{n+1} = T_n + S_n \end{cases} }[/math]

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

An initial phase [math]\displaystyle{ I_0 = (i, j, r, p) }[/math] is chosen according to some initialization rule.

  • [math]\displaystyle{ i }[/math] is the index of the current sub-domain [math]\displaystyle{ A_i }[/math].
  • [math]\displaystyle{ r }[/math] is the remaining number of waypoints to sample from this sub-domain [math]\displaystyle{ A_i }[/math].
  • [math]\displaystyle{ j }[/math] is the index of the next sub-domain.
  • And [math]\displaystyle{ p \in \{\text{pause}, \text{move}\} }[/math] indicates whether the [math]\displaystyle{ n }[/math]-th trip is a pause.

Given phase [math]\displaystyle{ I_n = (i, j, r, p) }[/math], the next phase [math]\displaystyle{ I_{n+1} }[/math] is chosen as follows. If [math]\displaystyle{ r \gt 0 }[/math] then [math]\displaystyle{ p' }[/math] is sampled from some distribution and [math]\displaystyle{ I_{n+1} = (i, j, r-1, p') }[/math]. Otherwise, a new sub-domain [math]\displaystyle{ k }[/math] is sampled and a number [math]\displaystyle{ r' }[/math] of trip to undergo in sub-domain [math]\displaystyle{ j }[/math] is sampled. The new phase is: [math]\displaystyle{ I_{n+1} = (j, k, r', \text{move}) }[/math].

Given a phase [math]\displaystyle{ I_n = (i, j, r, p) }[/math] the waypoint [math]\displaystyle{ M_{n+1} }[/math] is set to [math]\displaystyle{ M_n }[/math] if [math]\displaystyle{ p=\text{pause} }[/math]. Otherwise, it is sampled from sub-domain [math]\displaystyle{ A_i }[/math] if [math]\displaystyle{ r \gt 0 }[/math] and from sub-domain [math]\displaystyle{ A_j }[/math] if [math]\displaystyle{ r = 0 }[/math].

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

  1. Blazevic, L.; Le Boudec, J.-Y.; Giordano, S. (2005). "A location-based routing method for mobile ad hoc networks". IEEE Transactions on Mobile Computing 4 (2): 97–110. doi:10.1109/tmc.2005.16. ISSN 1536-1233. http://infoscience.epfl.ch/record/510. 
  2. 2.0 2.1 2.2 Le Boudec, J.-Y.; Vojnovic, M. (2005). "Perfect simulation and stationarity of a class of mobility models". Proceedings IEEE 24th Annual Joint Conference of the IEEE Computer and Communications Societies. 4. IEEE. pp. 2743–2754. doi:10.1109/infcom.2005.1498557. ISBN 0780389689. 
  3. Harbulot, Julien (2019-06-02), Simulation and initialization in stationary regime of the mobility model called Restricted Random Waypoint model, along with some examples including the four squares setting and city section.: jul.., https://github.com/julien-h/RestrictedRandomWaypoint, retrieved 2019-06-02