|
|
|
|
|
by boblol123
6283 days ago
|
|
Take the vertex whose vertices cross the biggest number of other vertices and move it. Repeat until nothing crosses. I remember this problem in maths ages ago, there is a way to know if you can't untangle something- look up the water gas electricity problem |
|
"Looks like" means: can be turned into by repeatedly replacing -o- (a vertex with two edges coming out of it) with -- (a single edge between the vertex's two old neighbours).
See http://en.wikipedia.org/wiki/Planar_graph for details.