A Discrete-Event Network Simulator
API
Mobility

The mobility support includes: More...

Classes

class  ns3::Box
 a 3d box More...
 
class  ns3::Building
 a 3d building block More...
 
class  ns3::ConstantAccelerationMobilityModel
 Mobility model for which the current acceleration does not change once it has been set and until it is set again explicitely to a new value. More...
 
class  ns3::ConstantPositionMobilityModel
 Mobility model for which the current position does not change once it has been set and until it is set again explicitely to a new value. More...
 
class  ns3::ConstantVelocityHelper
 Utility class used to move node with constant velocity. More...
 
class  ns3::ConstantVelocityMobilityModel
 Mobility model for which the current speed does not change once it has been set and until it is set again explicitely to a new value. More...
 
class  ns3::GaussMarkovMobilityModel
 Gauss-Markov mobility model. More...
 
class  ns3::GridPositionAllocator
 Allocate positions on a rectangular 2d grid. More...
 
class  ns3::HierarchicalMobilityModel
 Hierarchical mobility model. More...
 
class  ns3::ListPositionAllocator
 Allocate positions from a deterministic list specified by the user. More...
 
class  ns3::MobilityHelper
 Helper class used to assign positions and mobility models to nodes. More...
 
class  ns3::MobilityModel
 Keep track of the current position and velocity of an object. More...
 
class  ns3::Ns2MobilityHelper
 Helper class which can read ns-2 movement files and configure nodes mobility. More...
 
class  ns3::Ns2MobilityHelper::ObjectStore
 a class to hold input objects internally More...
 
class  ns3::PositionAllocator
 Allocate a set of positions. More...
 
class  ns3::RandomBoxPositionAllocator
 Allocate random positions within a 3D box according to a set of three random variables. More...
 
class  ns3::RandomDirection2dMobilityModel
 Random direction mobility model. More...
 
class  ns3::RandomDiscPositionAllocator
 Allocate random positions within a disc according to a given distribution for the polar coordinates of each node with respect to the provided center of the disc. More...
 
class  ns3::RandomRectanglePositionAllocator
 Allocate random positions within a rectangle according to a pair of random variables. More...
 
class  ns3::RandomWalk2dMobilityModel
 2D random walk mobility model. More...
 
class  ns3::RandomWaypointMobilityModel
 Random waypoint mobility model. More...
 
class  ns3::Rectangle
 a 2d rectangle More...
 
class  ns3::SteadyStateRandomWaypointMobilityModel
 Steady-state random waypoint mobility model. More...
 
class  ns3::UniformDiscPositionAllocator
 Allocate the positions uniformely (with constant density) randomly within a disc. More...
 
class  ns3::Waypoint
 a (time, location) pair. More...
 
class  ns3::WaypointMobilityModel
 Waypoint-based mobility model. More...
 

Enumerations

enum  ns3::Building::BuildingType_t { ns3::Building::Residential, ns3::Building::Office, ns3::Building::Commercial }
 
enum  ns3::Building::ExtWallsType_t { ns3::Building::Wood, ns3::Building::ConcreteWithWindows, ns3::Building::ConcreteWithoutWindows, ns3::Building::StoneBlocks }
 
enum  ns3::GridPositionAllocator::LayoutType { ns3::GridPositionAllocator::ROW_FIRST, ns3::GridPositionAllocator::COLUMN_FIRST }
 Determine whether positions are allocated row first or column first. More...
 
enum  ns3::RandomWalk2dMobilityModel::Mode { ns3::RandomWalk2dMobilityModel::MODE_DISTANCE, ns3::RandomWalk2dMobilityModel::MODE_TIME }
 An enum representing the different working modes of this module. More...
 
enum  ns3::Box::Side {
  ns3::Box::RIGHT, ns3::Box::LEFT, ns3::Box::TOP, ns3::Box::BOTTOM,
  ns3::Box::UP, ns3::Box::DOWN
}
 Enum class to specify sides of a box. More...
 
enum  ns3::Rectangle::Side { ns3::Rectangle::RIGHT, ns3::Rectangle::LEFT, ns3::Rectangle::TOP, ns3::Rectangle::BOTTOM }
 enum for naming sides More...
 

Detailed Description

The mobility support includes:

Enumeration Type Documentation

Enumerator
Residential 
Office 
Commercial 

Definition at line 46 of file building.h.

Enumerator
Wood 
ConcreteWithWindows 
ConcreteWithoutWindows 
StoneBlocks 

Definition at line 50 of file building.h.

Determine whether positions are allocated row first or column first.

Enumerator
ROW_FIRST 

In row-first mode, positions are allocated on the first row until N positions have been allocated.

Then, the second row located a yMin + yDelta is used to allocate positions.

COLUMN_FIRST 

In column-first mode, positions are allocated on the first column until N positions have been allocated.

Then, the second column located a xMin + xDelta is used to allocate positions.

Definition at line 109 of file position-allocator.h.

An enum representing the different working modes of this module.

Enumerator
MODE_DISTANCE 
MODE_TIME 

Definition at line 55 of file random-walk-2d-mobility-model.h.

Enum class to specify sides of a box.

Enumerator
RIGHT 
LEFT 
TOP 
BOTTOM 
UP 
DOWN 

Definition at line 40 of file box.h.

enum for naming sides

Enumerator
RIGHT 
LEFT 
TOP 
BOTTOM 

Definition at line 40 of file rectangle.h.