[clean-list] distribution of 1 random number sequence throughout program

Groenouwe, C. c.groenouwe at vu.nl
Wed Nov 9 23:22:15 MET 2011


Dear Pieter (and others Clean specialists),

I tried to use random numbers in my clean program, however, I ran into the problem of distributing the pseudo random sequence to the different parts of my program. What is an elegant solution which doesn't restrict your program so much that it breaks possibilities for parallel computing etc. etc.? Doing some research I found this article:

http://www.cs.ou.edu/~rlpage/BurtonPageRngJFP.pdf<http://mailman.science.ru.nl/pipermail/clean-list/>

and an old thread on the clean-list mailing list about this topic:

http://mailman.science.ru.nl/pipermail/clean-list/1995/000022.html

which also turned out to refer to the mentioned article. My question is: which of the proposed methods in the thread and article do you recommend? Are there also libraries available to support the distribution?

Additional info: my program doesn't do much I/O, so I don't know whether "piggy backing" on the World parameter is an elegant solution (a suggestion I read in the old thread). Is the method of choice of Burton and Page also the best according to you (random splitting of a random sequence)?

TIA!

Chide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/clean-list/attachments/20111109/b00bd3bd/attachment.html>


More information about the clean-list mailing list