Demonstrate use of ns-3 as a random number generator integrated with plotting tools. More...
Go to the source code of this file.
Namespaces | |
sample-rng-plot | |
Variables | |
float | sample-rng-plot.alpha = 0.75 |
Plot alpha value (transparency) More... | |
int | sample-rng-plot.density = 1 |
Make a probability density histogram. More... | |
string | sample-rng-plot.facecolor = 'g' |
Plot color More... | |
sample-rng-plot.rng = ns.core.NormalRandomVariable() | |
Random number generator. More... | |
list | sample-rng-plot.x = [rng.GetValue() for t in range(10000)] |
Random number samples. More... | |
Demonstrate use of ns-3 as a random number generator integrated with plotting tools.
This is adapted from Gustavo Carneiro's ns-3 tutorial
Definition in file sample-rng-plot.py.