Bug 103 - need an easy-to-use way to print and set the global seed for random variables
: need an easy-to-use way to print and set the global seed for random variables
Status: RESOLVED FIXED
: ns-3
simulation core
: pre-release
: All All
: P1 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-11-09 02:26 EDT by
Modified: 2009-03-13 10:59 EDT (History)


Attachments


Note

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


Description From 2007-11-09 02:26:32 EDT
It would be really nice if we added a pair of DefaultValue which controlled
options such as:
  --PrintGlobalSeed
  --SetGlobalSeed=XXXXXXX
------- Comment #1 From 2009-02-25 15:43:02 EDT -------
The command line setter is present in ns-3-dev now.  The getter/printer
functionality is not directly exported like the original bug report asks for.

How important is --PrintGlobalSeed to you at this point Mathieu?
------- Comment #2 From 2009-03-13 10:59:44 EDT -------
Michelle privately notes that "that the spirit of the bug report has been
addressed (easy way to set and print seeds), but not the letter (no
command-line way to print the seeds)".

If someone REALLY wants a command line printer, lets file another bug about
that issue.

Closed by RNG API changes merged before ns-3.4.