4 stable releases
| 1.1.1 | Apr 22, 2025 |
|---|---|
| 1.1.0 | Nov 17, 2024 |
| 1.0.1 | Nov 12, 2024 |
#1067 in Algorithms
198 downloads per month
Used in 2 crates
(via mate_selection)
10KB
167 lines
Stochastic Universal Sampling
This package implements the stochastic universal sampling (SUS) algorithm for the rand crate. The SUS algorithm is essentially a random selection algorithm. SUS guarantees that highly-weighted samples will not dominate the selection beyond their proportional weight. This is useful for evolutionary algorithms. For more information see:
Dependencies
~385KB