I have a random point generator which takes a distance $d$ and fills an area with points such that distance between any two points is no less that $d$:
I need to control the number of points in the area, but how to choose $d$? What is needed is just a rough guess since the best $d$ is found using a binary search algorithm.
The point generation is time consuming so the better the initial guess, the faster the heuristic search will be.
Any ideas on how to guess $d$?