[Networkit] Static seeds for RNGs in NetworKit

Henning Meyerhenke meyerhenke at kit.edu
Thu Feb 26 12:51:00 CET 2015


> https://algohub.iti.kit.edu/parco/NetworKit/NetworKit/pull-request/53
>
> Basically it uses a "seed generation" in order to keep track if the random
> number generator in a certain thread has already been updated after the last
> time the seed has been set. Whenever getURNG is called, this is checked. So
> after calling setSeed, all calls to getURNG will return a correctly
> initialized URNG. The URNG for the current thread is directly updated.
>
> If this pull request (or a similar change) is merged we should also make sure
> that test cases make use of setSeed whenever it is appropriate.

Good point, Michael, could you please add this to the NetworKit agenda?

Thanks,
Henning

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5316 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150226/88abb4be/attachment.p7s>


More information about the NetworKit mailing list