a 2D random walk position model More...
#include <random-walk-2d-mobility-model.h>
Public Types | |
enum | Mode { MODE_DISTANCE, MODE_TIME } |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::RandomWalk2dMobilityModel. |
a 2D random walk position model
Each instance moves with a speed and direction choosen at random with the user-provided random variables until either a fixed distance has been walked or until a fixed amount of time. If we hit one of the boundaries (specified by a rectangle), of the model, we rebound on the boundary with a reflexive angle and speed. This model is often identified as a brownian motion model.
static TypeId ns3::RandomWalk2dMobilityModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::RandomWalk2dMobilityModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
Attributes defined in parent class ns3::MobilityModel:
No TraceSources defined for this type.
TraceSources defined in parent class ns3::MobilityModel:
Reimplemented from ns3::MobilityModel.