THE one-dimensional bin-packing problem is defined as follows:for a given list L={p1,p2,…,Pn},where 0<pi≤1 denotes the item and its size as well,we are to pack all the items in-to bins,each of which has a capacit...THE one-dimensional bin-packing problem is defined as follows:for a given list L={p1,p2,…,Pn},where 0<pi≤1 denotes the item and its size as well,we are to pack all the items in-to bins,each of which has a capacity 1,and the goal is to minimize the number of bins used.The first-fit-decreasing(FFD)algorithm is a famous approximate algorithm for the bin-pack-ing problem.The FFD algorithm first sorts all the list into non-increasing order and then pro-cesses the pieces in that order by placing each item into the first bin into which it fits.展开更多
文摘THE one-dimensional bin-packing problem is defined as follows:for a given list L={p1,p2,…,Pn},where 0<pi≤1 denotes the item and its size as well,we are to pack all the items in-to bins,each of which has a capacity 1,and the goal is to minimize the number of bins used.The first-fit-decreasing(FFD)algorithm is a famous approximate algorithm for the bin-pack-ing problem.The FFD algorithm first sorts all the list into non-increasing order and then pro-cesses the pieces in that order by placing each item into the first bin into which it fits.