HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Find the point with minimum max distance to any point in a set

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
thepointwithanyminimumdistancemaxfindset

Problem

Say I have a set of points on a 2d plane, how do I find the point(s) where the maximum euclidian distance to any of the points in the set is minimized?

Solution

This is the smallest enclosing circle problem, and can be solved in linear time. Also, these slides describe a randomized algorithm that runs in expected linear time.

Context

StackExchange Computer Science Q#10247, answer score: 7

Revisions (0)

No revisions yet.