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...
#include <position-allocator.h>
Public Member Functions | |
void | SetTheta (RandomVariable theta) |
void | SetRho (RandomVariable rho) |
void | SetX (double x) |
void | SetY (double y) |
virtual Vector | GetNext (void) const |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to 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
virtual Vector ns3::RandomDiscPositionAllocator::GetNext | ( | void | ) | const [virtual] |
This method _must_ be implement in subclasses.
Implements ns3::PositionAllocator.
static TypeId ns3::RandomDiscPositionAllocator::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::RandomDiscPositionAllocator.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::PositionAllocator.