/CircleCutter

Solution to DailyProgrammer 321

Primary LanguageGo

CircleCutter

Solution to r/DailyProgrammer problem #321

Uses a genetic algorithm to determine the optimal circle in 50 thousand cycles or less.

Usage:

stdin:

<number of points>
<point x> <point y>...

stdout:

<circle x> <circle y>
<circle radius>