Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

find a point such that the maximum distance to any point in a set of points P is minimized

Given a set of points in 2d-space P, where Pi = (Xi, Yi),

I need to find a target point T such that the maximum distance to any Pi is minimized.

T does not need to exist in P, and can be defined arbitrarily

Is there an algorithm I can use for this?

like image 447
jdeuce Avatar asked May 24 '12 14:05

jdeuce


2 Answers

This is the smallest circle problem.

like image 142
Ants Aasma Avatar answered Nov 24 '22 01:11

Ants Aasma


http://www.cs.mcgill.ca/~cs507/projects/1998/jacob/problem.html

Think this may be a solution to your problem with pretty good explanation, but it's O(n^2)

like image 26
Karusmeister Avatar answered Nov 23 '22 23:11

Karusmeister