random-partition

Crates.iorandom-partition
lib.rsrandom-partition
version0.1.0
sourcesrc
created_at2022-12-14 18:02:52.345708
updated_at2022-12-14 18:02:52.345708
descriptionGenerate approximately uniformly distributed random integer partitions.
homepage
repositoryhttps://github.com/SV-97/random-partition/
max_upload_size
id736750
size9,251
Stefan V. (SV-97)

documentation

README

Description

Generate approximately uniformly distributed random integer partitions of a given size.

Algorithm

The algorithm is essentially the algorithm described here [https://stackoverflow.com/questions/10287021/an-algorithm-for-randomly-generating-integer-partitions-of-a-particular-length] with some core functions rewritten as dynamic programs to make the whole thing more efficient.

Commit count: 19

cargo fmt