If one doesn't specify a seed for the boost RNG, it uses a default one. The documentation mentions this , but I can't find the actual value, which would be nice to know for testing whether the setting of the seed works as expected. Where can I find it? Is it platform dependent?
Default seed for Mersenne Twister is 5489u
.
Find the other ones here .
lagged_fibonacci | 331u |
subtract_with_carry | 19780503u |
inversive_congruential | 1 |
linear_feedback_shift | 341 |
linear_congruential | 1 |
mersenne_twister | 5489u |
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.