Here is an old puzzle. Draw three houses and three wells. Connect every house to every well with a path — and never let two paths cross. Try it on paper and you will fail, every time. Something stops you.
That "something" has a name: the graph of three houses and three wells, written ,₃, simply cannot be drawn in the plane without a crossing. A graph that can be drawn flat with no crossing edges is called planar.
So a natural question appears: given any tangle of dots and lines, can it be redrawn flat, with no edges crossing? It sounds geometric — like it should require cleverly sliding points around until the knots come undone. You might expect it to be slow, even hopeless, for big graphs.
It is the opposite. Deciding planarity is one of the great easy problems of computer science.
Comments
Loading comments...