I recently wrote a genetic algorithm program and had great difficulty
with the pseudo-random number generators supplied with various Eiffel
libraries (they were not very random at all which was causing problems).
So, I wrote a class that produces random numbers from the (far more
random) files created by Random.org. It is not as fast or convenient
as the pseudo-random number generators (e.g., you need to download
random.org files), but it does produce a perfectly even distribution
(over enough trials).
Would anyone else find this class helpful? (If so, I'd have to clear
it up a bit before submitting it.) Do other people do simulations or
genetic algorithm optimization using Eiffel?
--Bruce
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eiffel_software/<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/eiffel_software/join (Yahoo! ID required)
<*> To change settings via email:
mailto:
eiffel_software-digest@...
mailto:
eiffel_software-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
eiffel_software-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/