A Discrete-Event Network Simulator
API
Namespaces | Variables
sample-rng-plot.py File Reference

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

 sample-rng-plot.alpha
 
 sample-rng-plot.bins
 
 sample-rng-plot.facecolor
 
 sample-rng-plot.n
 
 sample-rng-plot.normed
 
 sample-rng-plot.patches
 
 sample-rng-plot.rng = ns.core.NormalRandomVariable()
 
list sample-rng-plot.x = [rng.GetValue() for t in range(10000)]
 

Detailed Description

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.