packing

Recommend me a packer for anti-reversing

I'm finding a packer which includes a anti-reversing feature to apply our product. Please recommend me what a nice one is. Opensource is better. Edit: I'm finding a project(Open source) like themida. ...

Algorithm/approximation for combined independent set/hamming distance problem

Input: Graph G Output: several independent sets, so that the membership of a node to all independent sets is unique. A node therefore has no connections to any node in its own set. Here is an example path. since clarification was called for here another re phrasal: divide a given graph into sets so that i can tell a node from all oth...

Why does a struct consisting of a char, short, and char (in that order), when compiled in C++ with 4-byte packing enabled, come to a 6-byte struct?

I thought I understood how C/C++ handled struct member alignment. But I'm getting strange results for a particular arrangement in Visual Studio 2008 and 2010. Specifically, I'm finding that a struct consisting of a char, short, and char is compiled into a 6-byte struct, even with 4- or 8-byte packing enabled. I am at a loss as to why th...

Algorithm to determine best combinations - Bin Packing

Given a set of items, each with a value, determine the number of each item to include in a collection so that the total value is less than or equal to given limit and the total value is as large as possible. Example: Product A = 4 Product B = 3 Product C = 2 Product D = 5 If Total Capacity = 10.5 , then the combination of B,C,D will...

How can I fill an outline with predefined tangram shapes ?

I am interested in using shapes like these: Usually a tangram is made of 7 shapes(5 triangles, 1 square and 1 parallelogram). What I want to do is fill a shape only with tangram shapes, so at this point, the size and repetition of shapes shouldn't matter. Here's something I manually tried: I am a bit lost on how to approach this...

Packing 32bit floats into 30 bits (c++)

Hi all. Here are the goals I'm trying to achieve: I need to pack 32 bit IEEE floats into 30 bits. I want to do this by decreasing the size of mantissa by 2 bits. The operation itself should be as fast as possible. I'm aware that some precision will be lost, and this is acceptable. It would be an advantage, if this operation would not r...

Maximum packing of rectangles in a circle

I work at a nanotech lab where I do silicon wafer dicing. (The wafer saw cuts only parallel lines) We are, of course, trying to maximize the yield of the die we cut. All the of die will be equal size, either rectangular or square, and the die are all cut from a circular wafer. Essentially, I am trying to pack maximum rectangles into a ci...