I recently looked in to replacing the default Java.util.Random calls in my project to a better RNG system. While searching I found Uncommons Maths, and I applied it to my prject and replaced the calls with the CellularAutomatonRNG class and it was already noticeably better.
I did however want to change the seed generator to one of the many seed generators, however I cant seem to figure out how. I searched the Docs for it and it references changing the generator, however I'm having a hard time applying that information without getting an error.
So what is the proper way to instantiate the Generator to use the seed generator?
Aucun commentaire:
Enregistrer un commentaire