circle-packing-0.1.0.2: Simple heuristic for packing discs of varying radii in a circle

The circle-packing package

Given a number of circles with their radii, this packags tries to arrange them tightly, without overlap and forming a large circle.

Finding the optimal solution is NP hard, so only heuristics are feasible. This particular implementation is neither very good nor very fast, compared to the state of the art in research. Nevertheless it is simple to use and gives visually acceptable results.

Contributions of better algorithms are welcome.

Properties

Versions0.1.0.0, 0.1.0.1, 0.1.0.2
Dependenciesbase (≥4.5 & <4.7)
LicenseBSD3
Copyright2012, Joachim Breitner
AuthorJoachim Breitner <mail@joachim-breitner.de>
MaintainerJoachim Breitner <mail@joachim-breitner.de>
CategoryOptimisation
Source repositorydarcs get http://darcs.nomeata.de/circle-packing
Upload dateMon Dec 17 09:17:57 UTC 2012
Uploaded byJoachimBreitner
Built onghc-7.6
DistributionsNixOS: 0.1.0.2

Modules

Downloads