Bug 475 - Two new RandomVariables: GammaVariable and ErlangVariable
: Two new RandomVariables: GammaVariable and ErlangVariable
Status: RESOLVED FIXED
: ns-3
simulation core
: ns-3-dev
: All All
: P3 enhancement
Assigned To:
: https://idlebox.net/2008/ns-3-wifi/co...
:
:
:
  Show dependency treegraph
 
Reported: 2009-01-19 12:24 EDT by
Modified: 2009-04-16 04:08 EDT (History)


Attachments
Two new RVs and samples program. (24.28 KB, patch)
2009-03-05 12:24 EDT, TimoB
Details | Diff


Note

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


Description From 2009-01-19 12:24:44 EDT
The repo has two new RandomVariables: GammaVariable and ErlangVariable.

They are required for Nakagami/Rayleigh fast fading propagation loss models.

Furthermore I added a program in samples/ to plot probability density
histogramms of all RandomVariables and the ideal functions to compare them
again.

See the programs output at
http://idlebox.net/2008/ns-3-wifi/results/ns-3-main-random-variables.pdf
------- Comment #1 From 2009-01-20 14:39:46 EDT -------
Thanks for the contribution.  The RandomVariable API is in flux (as you might
know from following the developers list).  I think we might be able to add this
in before ns-3.4 is released if it can be adapted to the new API quickly
enough.
------- Comment #2 From 2009-02-25 09:45:31 EDT -------
Pulled current ns-3-dev and adapted to rngvar changes.

https://idlebox.net/2008/ns-3-wifi/code/ns-3-rndvar/
------- Comment #3 From 2009-03-05 12:24:48 EDT -------
Created an attachment (id=397) [details]
Two new RVs and samples program.
------- Comment #4 From 2009-03-05 12:25:58 EDT -------
The output of my test program of all RVs included in patch is still at

http://idlebox.net/2008/ns-3-wifi/results/ns-3-main-random-variables.pdf
------- Comment #5 From 2009-03-06 07:06:41 EDT -------
Sorry I didn't post an update here at the time, but at the end of Jan, I
submitted this patch to Raj for inclusion in the ns-3-rng branch which he
merged with ns-3-dev.

But, now I see the new changes (unsigned int for first param of Erlang) and
I'll take a look.
------- Comment #6 From 2009-04-10 16:18:24 EDT -------
(In reply to comment #5)
> Sorry I didn't post an update here at the time, but at the end of Jan, I
> submitted this patch to Raj for inclusion in the ns-3-rng branch which he
> merged with ns-3-dev.
> 
> But, now I see the new changes (unsigned int for first param of Erlang) and
> I'll take a look.
> 

Michele is on leave at the moment but reviewed them in the past and is
OK to commit them.

So, Timo, feel free to commit and close this bug.
------- Comment #7 From 2009-04-16 04:08:22 EDT -------
changeset: 0a250f44e0ed