Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-124

Create fixed increment PCG generators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • 1.3
    • 1.4
    • core, simple
    • None

    Description

      The increment of the PCG generator serves to select the underlying linear congruential generator (LCG) from 2 classes of related generators. Thus initialisation of generators using different increments can result in PCG output with massive correlations. The result is that seeding with 128-bits does not reduce the chance of correlated output over seeding with just 64-bits and using a fixed increment. See RNG-123.

      Create a fixed increment version of the three PCG generators which currently accept the increment in their seed:

      PCG_XSH_RR_32    => PCG_XSH_RR_32_OS
      PCG_XSH_RS_32    => PCG_XSH_RS_32_OS
      PCG_RXS_M_XS_64  => PCG_RXS_M_XS_64_OS
      

      Here the _OS suffix represents One Sequence. The equivalent PCG generators in the reference c++ source code have a _oneseq suffix.

      Attachments

        Issue Links

          Activity

            People

              aherbert Alex Herbert
              aherbert Alex Herbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h