If I pick a seed (say 999) and generate a stream of random numbers, how can I choose a second seed that ensures the second stream of random numbers does not match the first? Does the second seed need to be measurably different from 999? Would something as simple as seed2 = seed1 + 1000 work? The programming language I'm interested in is Java.
Aucun commentaire:
Enregistrer un commentaire