Bug 103

Summary: need an easy-to-use way to print and set the global seed for random variables
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: coreAssignee: Michele Weigle <mweigle>
Status: RESOLVED FIXED    
Severity: normal CC: craigdo, ns-bugs, raj.b
Priority: P1    
Version: pre-release   
Hardware: All   
OS: All   

Description Mathieu Lacage 2007-11-09 02:26:32 UTC
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 UTC
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 UTC
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.