2012-10-30

Points on a plane

Given a bunch of points, how can we figure out which two points are closest to each other? We could compare all of the points and choose the pair with the minimum distance, but that's a lot of work.

Below, I try to explain a better algorithm to find the closest pair of points. This algorithm and its explanation are all over the Internet, so surely one more explanation won't hurt. Besides, I think mines has the most pictures in it. :)

Viewer Advisory: Some graphs and technical language.

OH GOD there are snakes AND points on a plane! I CAN'T COPE!
OH GOD there are snakes AND points on a plane! I CAN'T COPE! OH GOD there are snakes AND points on a plane! I CAN'T COPE! OH GOD there are snakes AND points on a plane! I CAN'T COPE! OH GOD there are snakes AND points on a plane! I CAN'T COPE! OH GOD there are snakes AND points on a plane! I CAN'T COPE! OH GOD there are snakes AND points on a plane! I CAN'T COPE! OH GOD there are snakes AND points on a plane! I CAN'T COPE!
Previous Post
About

About

cL is a web designer with a certain affection for typography, minimalism, and otherworldly ideas. cloudscape; is her artistic outlet while she works on her BSc in psychology, linguistics, and computer science.

Email Blogger Profile cloudscape; on Facebook cloudscape; on Tumblr: clearlyacliffhanger cloudscape; on Twitter: @cliffhangered
Tags

Tags

RSS Feeds
Followers

Followers