ropensci / nlrx

nlrx NetLogo R
https://docs.ropensci.org/nlrx
GNU General Public License v3.0
77 stars 12 forks source link

random seed generator #35

Closed nldoc closed 4 years ago

nldoc commented 4 years ago

The random seed generator needs to be fixed. There should be no double occurences and the number of digits of each seed need to be dynamic

nldoc commented 4 years ago

This is partly fixed. The generator now prints a warning if duplicates exist. Another solution would be the follwing procedure: Draw a random number of allowed seeds as starting point. Then generate a sequence of values by adding 1 to the previous number. If the sequence reaches the maximum allowed number, we can break the sequence to the minimum.