Generate a large random planar graph

viaclectic picture viaclectic · Jul 12, 2010 · Viewed 9.8k times · Source

What is the most efficient way to generate a large (~ 300k vertices) random planar graph ("random" here means uniformly distributed)?

Answer

Ivo Blöchliger picture Ivo Blöchliger · Jan 15, 2013

Another possibility consists in randomly choosing coordinates and then compute a Delaunay Triangulation, which is a planar graph (and looks nice as well). See http://en.wikipedia.org/wiki/Delaunay_triangulation There are O(n log(n)) algorithms to compute such a triangulation.