Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended usage with random seeds and streams #49

Open
LTLA opened this issue Feb 4, 2019 · 0 comments
Open

Recommended usage with random seeds and streams #49

LTLA opened this issue Feb 4, 2019 · 0 comments

Comments

@LTLA
Copy link

LTLA commented Feb 4, 2019

First off: apologies if this is the wrong place to ask a usage-related question, I couldn't find any indication of where to ask for help on the PCG website.

The scenario is fairly simple: I am using multiple pcg32 instances (at least 1000, up to a million), each one of which is constructed with a different seed and an incremented stream value (1, 2, 3, etc.). The seeds are different between instances; for the sake of discussion, they can be assumed to be independently and uniformly sampled from the entire range of 64-bit integers.

Upon reviewing my code, someone mentioned that the use of different seeds was unnecessary in the presence of different streams. This sounded reasonable but some reading of the PCG blog made me wonder:

it may be easier than I had thought to make “nearby” streams with correlated initializations like a constant seed and streams of 1,2,3,4

So, the question: is there any advantage or disadvantage to my current PCG32 initialization scheme, over using a constant seed and a different stream for each instance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant