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

Cheng Beta Sampler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.3
    • 1.3
    • sampling
    • None

    Description

      The ChengBetaSampler chooses between two algorithms on each call to the sample() method. Each algorithm has several constants that are computed on each call. The choice and these constants will always be the same.

      Extract the two algorithms into private classes that can precompute the constants. The main sample method can delegate to the appropriately chosen private class implementation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              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 - 40m
                  40m