Bug 672

Summary: UniformDiscPositionAllocator
Product: ns-3 Reporter: Nicola Baldo <nicola>
Component: mobility modelsAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: patch
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: UniformDiscPositionAllocator

Description Nicola Baldo 2009-09-08 04:00:30 UTC
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 UTC
changeset:   5513:2ef4be6c501a