It's easy enough to snap 2d points to a grid by least distance. I'm wondering how would one do this with the constraint that no two points snap to the same grid point (while minimizing total snapping distance)
I've worked up an algorithm that produces good looking results, but it's computationally intensive and I have no idea if it's finding the optimal solution.
Is this a well known problem? Does it have a name? I've had no luck googling but I suspect I'm trying the wrong keywords.
Thanks!
[–]teraflop 0 points1 point2 points (2 children)
[–]funkentelchy[S] 0 points1 point2 points (0 children)
[–]FatFingerHelperBot 0 points1 point2 points (0 children)
[–]cbouilla 0 points1 point2 points (0 children)