Bin packing implementation in C++ with STL - Stack Overflow
Jul 10, 2010 · There's one important difference between your bin packing algorithm and most STL algorithms. The STL algorithms are either non-modifying or are inserting elements to a destination. bin-packing, on the other hand, is "here's a list of bins, use them or add a new bin". It's not impossible to do this with iterators, but probably not worth the effort.
DA: 78 PA: 16 MOZ Rank: 48 Up or Down: Up