Ranking and Unranking of the Planar Embeddings of a Planar Graph
Giuseppe Di Battista, Fabrizio Grosso, Giulia Maragno, Maurizio, Patrignani

TL;DR
This paper introduces an efficient bijection between all planar embeddings of a graph and natural numbers, enabling fast ranking, unranking, and uniform random generation of embeddings for practical applications.
Contribution
It presents a novel linear-time ranking and near-linear-time unranking method for all planar embeddings of a graph, facilitating enumeration and random sampling.
Findings
Ranking function computed in O(n) time
Unranking function computed in O(n α(n)) time
Enables uniform random generation of planar embeddings
Abstract
Let be the set of all the planar embeddings of a (not necessarily connected) -vertex graph . We present a bijection from to the natural numbers in the interval . Given a planar embedding of , we show that can be decomposed into a sequence of natural numbers each describing a specific feature of . The function , which is a ranking function for , can be computed in time, while its inverse unranking function can be computed in time. The results of this paper can be of practical use to uniformly at random generating the planar embeddings of a graph or to enumerating such embeddings with amortized constant delay. Also, they can be used to counting, enumerating or uniformly at random generating constrained…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Graph Labeling and Dimension Problems · Complexity and Algorithms in Graphs
