Allocate random positions within a rectangle according to a pair of random variables. More...
#include <position-allocator.h>


Public Member Functions | |
| void | SetX (RandomVariable x) |
| void | SetY (RandomVariable y) |
| virtual Vector | GetNext (void) const |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| This method returns the TypeId associated to ns3::RandomRectanglePositionAllocator. | |
Allocate random positions within a rectangle according to a pair of random variables.
| virtual Vector ns3::RandomRectanglePositionAllocator::GetNext | ( | void | ) | const [virtual] |
This method _must_ be implement in subclasses.
Implements ns3::PositionAllocator.
| static TypeId ns3::RandomRectanglePositionAllocator::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::RandomRectanglePositionAllocator.
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.
1.7.1