Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello everybody : )
I hope my question is appropriate for this forum / this website, because it isn't related to coding directly.

I want to use a 2D bin-packing algorithm to arrange squares with predefined dimensions within a "container" that adapts its size. The container's size has to be minimal, of course.

Well, I know how to implement this algorithm in Java (with a k-d-tree, etc.) and did a lot of research recently about this topic. But I was ordered to first assure that there is no existing library, that I could use for my task (the thing about not reinventing the wheel ^^).

I spent a lot of time on Google to find something I could use, but my search wasn't successful, unfortunately.
Therefore, my question is, if anybody here knows of any Java library, that solves this problem. It doesn't have to be a perfect solution, so, if there's a bit of code-adapting necessary that would be acceptable, after all.

Thanks for your effort in advance.
Regards.

PS: sorry, but "2D bin-packing" was no legitamate tag for this question. I hope that's fine, after all : )
Posted
Updated 5-Sep-14 12:42pm
v2
Comments
[no name] 5-Sep-14 22:00pm    
http://www.bing.com/search?q=java+2D+bin-packing+algorithm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900