Bug 672 - UniformDiscPositionAllocator
: UniformDiscPositionAllocator
Status: RESOLVED FIXED
: ns-3
mobility models
: ns-3-dev
: All All
: P5 enhancement
Assigned To:
:
: patch
:
:
  Show dependency treegraph
 
Reported: 2009-09-08 04:00 EDT by
Modified: 2009-11-13 10:54 EDT (History)


Attachments
UniformDiscPositionAllocator (3.20 KB, patch)
2009-09-08 04:00 EDT, Nicola Baldo
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-09-08 04:00:30 EDT
Created an attachment (id=583) [details]
UniformDiscPositionAllocator

with RandomDiscPositionAllocator it is not straightforward to achieve a uniform
distribution of nodes within the disc, basically because using a uniformly
distributed rho doesn't do the job. 

The proposed patch introduces the UniformDiscPositionAllocator which
distributes uniformly the nodes within a disc of given radius.
------- Comment #1 From 2009-11-13 10:54:01 EDT -------
changeset:   5513:2ef4be6c501a