pack_it_up
pack_it_up is a simple Rust library that implements various bin packing algorithms
Current implemented algorithms
- First-fit
- First-fit-decreasing
- Next-fit
Basic example
use first_fit_decreasing;
The above will result in 2 full bins, one with sizes 19 and 1, and the other with sizes 17, 2 and 1.
Planned features
- Remaining algorithms
- Performance optimizations
- Simple derive for Pack if your struct already has a field called size