Skip to content

Merging Rust Random Choice #110

@StefanoD

Description

@StefanoD

Hi,
I want to ask, if there is an interested, to merge my small lib to this crate.
As far as I know, this random crate doesn't support to choose randomly samples by their weight/probabilities.

I have still to refactor the API and write more tests, but the implementation of the algorithm is finished. I have to implement the special case where I get a vec of Box, though.

https://github.com/StefanoD/Rust_Random_Choice

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-new-intFunctionality: new, within Rand

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions