GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Build software better, together

#

non-replacement

Star

Here are 2 public repositories matching this topic...

ori88c-typescript-packages / non-replacement-random-item-sampler

Star 0

An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completion, the sampler automatically refreshes, initiating a new cycle to repeat the process.

random constant-time sampling sampler shuffle cycles random-shuffle random-sample rounds random-select random-permutations random-selection random-samples no-repetitions random-item random-selector efficient-sampling non-replacement random-element
  • Updated Nov 10, 2024
  • TypeScript

ori88c-typescript-packages / non-replacement-weighted-random-item-sampler

Star 0

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, making it suitable for performance-demanding applications where the set of items is large.

nodejs typescript js binary-search weighted-samples weighted-random weighted-sampling logn weighted-random-choice no-repetitions weighted-sampler weighted-select weighted-choice non-replacement no-replacement sample-once non-replacement-weighted-sampling weighted-random-sampling weighted-random-pick weighted-random-select
  • Updated Oct 26, 2024
  • TypeScript

Add this topic to your repo

To associate your repository with the non-replacement topic, visit your repo's landing page and select "manage topics."

Learn more

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.