Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

How does rectangle packing algorithm is implemented for given n rectangles ?

OpenStudy (anonymous):

Packing problems are a class of optimization problems in mathematics which involve attempting to pack objects together (often inside a container), as densely as possible. Many of these problems can be related to real life packaging, storage and transportation issues. Each packing problem has a dual covering problem, which asks how many of the same objects are required to completely cover every region of the container, where objects are allowed to overlap. In a packing problem, you are given: 'containers' (usually a single two- or three-dimensional convex region, or an infinite space) 'goods' (usually a single type of shape), some or all of which must be packed into this container Usually the packing must be without overlaps between goods and other goods or the container walls. The aim is to find the configuration with the maximal density. In some variants the overlapping (of goods with each other and/or with the boundary of the container) is allowed but should be minimized.

OpenStudy (anonymous):

rest you can read from here: http://en.wikipedia.org/wiki/Packing_problem cheers :)

OpenStudy (anonymous):

havent implemented it before but hope this will work http://codeincomplete.com/posts/2011/5/7/bin_packing/

OpenStudy (anonymous):

@farmdawgnation can you please help with the implementation thing ?

OpenStudy (farmdawgnation):

Oooo. Packing algorithms. I haven't done these before.

OpenStudy (anonymous):

me too thats why i called you lol anyways can you refer someone else

OpenStudy (farmdawgnation):

@Neeraj_OCW Have you done these before?

OpenStudy (anonymous):

@farmdawgnation No. I wanted to make a sprite packing tool to pack all images into a single image with minimal area required. I googled came to know that's it's called rectangle packing / tile mapping.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!