public class SlowClosestPair extends java.lang.Object implements ClosestPair
Constructor and Description |
---|
SlowClosestPair() |
Modifier and Type | Method and Description |
---|---|
PointPair_2 |
findClosestPair(Point_2[] points)
Compute the closest pair of a set of points in the plane
|
public PointPair_2 findClosestPair(Point_2[] points)
ClosestPair
findClosestPair
in interface ClosestPair
points
- the set of points