Upload
nur-farah-anis
View
12
Download
1
Embed Size (px)
DESCRIPTION
algorithm
Citation preview
Bin PackingFirst fit algorithm12362353A B C D E F4Each block will be fitted into the first bin that has room for it.
Bin PackingFirst fit algorithmA B C D E F4The first block fits into the first bin12362353
Bin PackingFirst fit algorithmA B C D E F4The second block fits in the first bin12362353
Bin PackingFirst fit algorithmA B C D E F4The third block will not fit in the first bin123623532But there is room in the second bin
The third bin is the first one the 5 will fit inBin PackingFirst fit algorithmA B C D E F41263532355
The second bin has room for the 3Bin PackingFirst fit algorithmA B C D E F4126332353
The fourth bin is the first one with room for the next oneBin PackingFirst fit algorithmA B C D E F412633235222
The next one also fits in the fourth binBin PackingFirst fit algorithmA B C D E F416323523333
No room until the fifth bin for the 6Bin PackingFirst fit algorithmA B C D E F4163235236666
The 3 has to start a new binBin PackingFirst fit algorithmA B C D E F41235236333333Total usage is 6 bins.