NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::RandomWalk2dMobilityModel Class Reference

#include <introspected-doxygen.hpp>

Detailed Description

Config Paths

ns3::RandomWalk2dMobilityModel is accessible through the following paths with Config::Set and Config::Connect:

  • "/NodeList/[i]/$ns3::MobilityModel/$ns3::RandomWalk2dMobilityModel"

Attributes

  • Bounds: Bounds of the area to cruise.
    • Set with class: RectangleValue
    • Underlying type: Rectangle
    • Initial value: 0|100|0|100
    • Flags: construct write read
  • Time: Change current direction and speed after moving for this delay.
    • Set with class: ns3::TimeValue
    • Underlying type: Time -9.22337e+18ns:+9.22337e+18ns
    • Initial value: +1e+09ns
    • Flags: construct write read
  • Distance: Change current direction and speed after moving for this distance.
    • Set with class: ns3::DoubleValue
    • Underlying type: double -1.79769e+308:1.79769e+308
    • Initial value: 1
    • Flags: construct write read
  • Mode: The mode indicates the condition used to change the current speed and direction
    • Set with class: ns3::EnumValue
    • Underlying type:
    • Initial value: Distance
    • Flags: construct write read
  • Direction: A random variable used to pick the direction (radians).
  • Speed: A random variable used to pick the speed (m/s).

Attributes defined in parent class ns3::MobilityModel

  • Position: The current position of the mobility model.
    • Set with class: Vector3DValue
    • Underlying type: Vector3D
    • Flags: write read
  • Velocity: The current velocity of the mobility model.
    • Set with class: Vector3DValue
    • Underlying type: Vector3D
    • Flags: read

No TraceSources are defined for this type.

TraceSources defined in parent class ns3::MobilityModel

  • CourseChange: The value of the position and/or velocity vector changed
    Callback signature: ns3::MobilityModel::TracedCallback

Size of this type is 216 bytes (on a 64-bit architecture).


The documentation for this class was generated from the following file: