stefanantic7 / facility-location

Given a set of points in the plane and a number r, computes where a disc with radius r should be placed in order to maximize the number of input points covered by the disc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

facility-location

Live demo: https://stefantic.tk/facility-location/

Given a set of points in the plane and a number r, computes where a disc with radius r should be placed in order to maximize the number of input points covered by the disc.

Upper bounds: O(n^2 logn) time and O(n) space, where n is the number of points.

About

Given a set of points in the plane and a number r, computes where a disc with radius r should be placed in order to maximize the number of input points covered by the disc.


Languages

Language:JavaScript 85.0%Language:HTML 15.0%