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
Product: ns-3
Classification: Unclassified
Component: core
pre-release
All All
: P1 normal
Assigned To: Michele Weigle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-09 02:26 EST by Mathieu Lacage
Modified: 2009-03-13 10:59 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2007-11-09 02:26:32 EST
It would be really nice if we added a pair of DefaultValue which controlled options such as:
  --PrintGlobalSeed
  --SetGlobalSeed=XXXXXXX
Comment 1 Rajib Bhattacharjea 2009-02-25 15:43:02 EST
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 Rajib Bhattacharjea 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.