Bug 672 - UniformDiscPositionAllocator
UniformDiscPositionAllocator
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: mobility models
ns-3-dev
All All
: P5 enhancement
Assigned To: ns-bugs
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-08 04:00 EDT by Nicola Baldo
Modified: 2009-11-13 10:54 EST (History)
0 users

See Also:


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 Nicola Baldo 2009-09-08 04:00:30 EDT
Created attachment 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 Nicola Baldo 2009-11-13 10:54:01 EST
changeset:   5513:2ef4be6c501a