The Random Trip Mobility Model

New: The paper that describes the random trip model won the Infocom 2005 Best Paper Award

Welcome to the random trip mobility model page. You will find here a description of the model and ns-2 code to use it in simulations.

The random trip model is a generic mobility model that generalizes random waypoint and random walk to realistic scenarios. You can use it to give a realistic flavour to your simulations. It is implemented in ns-2 and can be used without license. The implementation performs perfect initialization, i.e. the mobility model has no transient phase.

The Random Trip Models

The Random Trip Models, a wide class of mobility models, contain many existing mobility models in one, plus some new ones. Examples include random waypoint on general connected domain, restricted random waypoint, and random walk models with either wrap-around or reflection.

Illustration of some random trip models

A description of the model and its properties can be found in:

If well-defined, random trip models feature:

ns-2 code

Code to use random trip with ns-2 network simulator is freely available from: The code includes the model with perfect sampling, i.e. the initial mobility state can be set in steady state at the beginning of the simulation, so that annoying transient artifacts are avoided.

Importance of perfect mobility simulations

More details in:

Slide shows



We give below a non-exhaustive catalog of random trip models. If anyone knows of a random trip model, which we omitted to list below, please send us a link (contact: see below).


Random Waypoint

Random Walk

Empirically-based models

Maintained by Jean-Yves Le Boudec and Milan Vojnovic. Last update: Nov 12, 2004. Contact: email.