开发者

Algorithm putting point into square with maximal minimum distance

开发者 https://www.devze.com 2022-12-28 03:37 出处:网络
I\'m stuck on this: Have a square. Put n points into 开发者_运维百科this square so the minimal distance (not necessary the average distance) is the highest possible.

I'm stuck on this: Have a square. Put n points into 开发者_运维百科this square so the minimal distance (not necessary the average distance) is the highest possible.

I'm looking for an algorithm which would be able to generate the coordinates of all points given the count of them.

Example results for n=4;5;6:

Algorithm putting point into square with maximal minimum distance

Please don't mention computing-power based stuff such as trying a lot of combination and then nitpicking the right one and similar ideas.


This is the circles in square packing problem.

It is discussed as problem D1 in Unsolved problems in geometry, by Hallard T. Croft, Kenneth J. Falconer, and Richard K. Guy, page 108.

Algorithm putting point into square with maximal minimum distance

Pages 109 and 110 contain a list of references.


You could do an N body simulation where the points repel each other, perhaps with a 1/r^2 force. The movement of the points would obviously be constrained by the square. Start with all the points approximately in the centre of the square.


Mikulas, I found a page full of image examples of possibly optiimal, or currently best known solutions. It's not mine, so use it with your own risk.

See

http://www.ime.usp.br/~egbirgin/packing/packing_by_nlp/numerical.php?table=csq-mina&title=Packing%20of%20unitary-radius%20circles%20in%20a%20square

Source:

http://www.ime.usp.br/~egbirgin/packing/packing_by_nlp/

0

精彩评论

暂无评论...
验证码 换一张
取 消