Skip to content

feat: add weighted alias sampler#23

Merged
f-gueguen merged 1 commit into
mainfrom
feature/weighted-alias
Oct 7, 2025
Merged

feat: add weighted alias sampler#23
f-gueguen merged 1 commit into
mainfrom
feature/weighted-alias

Conversation

@f-gueguen
Copy link
Copy Markdown
Contributor

Summary

  • add alias-method discrete sampler with typed API and constant-time sampling
  • update docs, README, and roadmap entries plus include runnable example
  • ship deterministic unit tests verifying weight behavior

Testing

  • npm run lint
  • npm run typecheck
  • npm test
  • npm run build

@f-gueguen f-gueguen merged commit c6cdd5c into main Oct 7, 2025
1 check passed
@f-gueguen f-gueguen deleted the feature/weighted-alias branch October 7, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant