Tag Archives : Algorithm

Simple packing algorithm – part 3
Javascript jQuery Wordpress

Simple packing algorithm – part 3

After developping a simple packing algorithm, I’ll explain here what it was needed for. The constraining test sample provided by wordress made me go for this, although it probably won’t prove that usefull in practical cases, but who knows ?

Simple packing algorithm – part 2
Javascript jQuery

Simple packing algorithm – part 2

Getting on with more serious stuff this time. I’m going to pack boxes with 2 possible heights, still aiming at minimum overlapping, better yet not any at all to achieve a neat alignment.

Simple packing algorithm – part 1
Javascript jQuery

Simple packing algorithm – part 1

Packing boxes in a given container is a problem which can be solved in numorous manners, depending on complexity and the optimization you’re aiming at. I’ll focus on a very simple layout, with an extra constraining requirement being as little overlapping as possible.