1 Data Structures for Planar Graphs 2 the Euler Characteristic for Graphs

Total Page:16

File Type:pdf, Size:1020Kb

1 Data Structures for Planar Graphs 2 the Euler Characteristic for Graphs Comp 150GT: Graph Theory Prof. Diane Souvaine Tufts University, Oct. 17 2019 Scribe: Riley Price Lecture 7: Euler's Formula and Matchings 1 Data Structures for Planar Graphs Last time, we discussed data structures for graphs. Major ideas discussed were • The doubly connected edge list. In this structure, we represent each edge as two \half-edges". Each face points to any of its bounding half-edges, each vertex points to any incident half-edge, and each half- edge points to the unique face it bounds, to the next and previous edges around the face boundary, and to its twin edge. • The winged edge data structure, which keeps track of 8 things for every edge e: the edge's two endpoints, the two faces that each edge bounds, and, at each endpoint, the edges immediately clockwise and counterclockwise of e (four edges in total). • The quad edge data structure. This one is fancy: it represents simul- taneously a graph, its dual, and its mirror image. This stackexchange thread offers a good overview, with pictures, of how the structure works. 2 The Euler Characteristic for Graphs Definition 2.0.1 Let G be a plane graph, with F a face of G. The length of a face F is the total length of the closed walks in G bounding f. Note that a cut-edge e can only belong to one face; otherwise, we'd be able to find a cycle, and then e couldn't be a cut-edge. 1 Proposition 2.0.2 Denote the length of a face Fi in a plane graph G by `(Fi). Then X 2e(G) = `(Fi) i We omit a formal proof of Proposiion 2.0.2, but it's not too hard to see why it's true. The face lengths are the degrees of the dual vertices, and jE(G)j = jE(G∗)j, so this is just the degree-sum formula in disguise (cf. the proof of Proposition 6.1.13 in the book). Definition 2.0.3 A bond is a minimal non-empty edge cut. This definition gives us a surprising result. Theorem 2.0.4 Edges in a plane graph G form a cycle if and only if the corresponding dual edges form a bond in G∗. Proof: Omitted. See the proof of theorem 6.1.14 in West. It's on Page 238 in my edition. We also presented this result for plane graphs. Theorem 2.0.5 For a plane graph G, the following are equivalent. • G is bipartite. • Every face of G has even length. • G∗ is Eulerian. Proof: Omitted in class. See proof of Theorem 6.1.16 in West (Page 239 of my book). As a fun aside to the following, people look at a lot of funky embeddings. For a cool example, see the Wikipedia page on Book embeddings. 2 Figure 1: K4 (left) and K2;3 (right) Definition 2.0.6 An outerplanar graph has a planar embedding with ex- ery vertex on the outer face. An outerplane graph is an embedding that realizes an outerplanar graph. Some remarks about outerplanar graphs 1. The boundary of the outer face of a 2-connected outer planar graph is a spanning cycle. 2. The graphs K4 and K2;3 are both planar, but not outer planar. 3. Every simple outer planar graph has a vertex of degree at most 2. To understand the first proposition, recall that a graph is said to be k- connected if there is no set of k − 1 vertices whose deletion would disconnect the graph. Since the boundary of an outerplane graph contains all the ver- tices, then if it's not a cycle it must pass through some vertex more than once. Such a vertex would be a cut-vertex. To show that K4 and K2;3 (pictured in Figure 1) are not outerplanar, observe that they are 2-conencted. There can be no spanning cycle in K2;3 since such a cycle would be a cycle of length 5 in a bipartite graph, so we can conclude it is not outerplanaer by Remark 1. Remark 3 follows as a consequence of the two-ears theorem. An alternative proof that does not rely on the two-ears theorem can be found on page 240 of West (Proposition 6.1.20). 3 Now we present a basic counting tool relating vertices, edges, and faces in planar graphs. Theorem 2.0.7 (Euler) If a connected plane graph G has exactly n vertices, e edges, and f faces then n − e + f = 2 Proof: We use induction on n. If n = 1, then G is a “flower", since every edge is a loop. If e = 0, then f = 1 and the formula is true. Adding a loop will cut and face in two (by the Jordan Curve Theorem), which adds one to both the edge count and the face count, changes that cancel each other out. Thus the formula is always true for n = 1. If n > 1, since G is connected, we can find a non-loop edge in G. Contracting such an edge yields a new graph G0 with one less vertex than G, one less edge than G, and the same number of faces as G. The new graph G0 will have n0 = n − 1 vertices and e0 = e − 1 edges. Inductively, we know n0 − e0 + f = 2 but then (n − 1) − (e − 1) + f = 2 thus showing that Euler's formula is true. Euler's formula has several corollaries. Proposition 2.0.8 If G is a simple planar graph with at least 3 vertices then e ≤ 3n − 6. Proof: Recall that if G is a simple planar graph with n ≥ 3 then every face Fi has length `(Fi) ≥ 3. Let fi = `(Fi). Since every face counts two edges (Prop. 6.1.13 in the book) we have X 2e = fi ≥ 3f i Or, dividing by 3 2 e ≥ f 3 4 Substituting the inequality into Euler's formula gets 2 e ≤ n + e − 2 3 which we rearrange to conclude e ≤ 3n − 6 We can apply Euler's formula again to substitute n + f − 2 for e in the above and rearrange to get f ≤ 2n − 4 Proposition 2.0.9 If G is a simple, triangle-free graph with n ≥ 3 then e ≤ 2n − 4 Proof: If G is triangle free, then every face has a minumum of four edges. Hence X 2e = fi ≥ 4f i Plugging in to Euler's formula, we get 1 e ≤ n + e − 2 2 which we rearrange to get e ≤ 2n − 4 our desired result. 3 Matchings Matchings are an abstraction of the idea of \pairing things together." In real life, this happens often: for example, we might want to pair potential roommates or pair jobs with job-seekers. Every roommate gets one other roommate, every job gets one job-seeker and every job-seeker, one job. For- mally, 5 Definition 3.0.1 A matching M for a graph G is a set of non-loop edges with no shared endpoints. Vertices incident to the edges of M are said to be saturated by M, and those that are not are unsaturated by M.A perfect matching saturates every vertex. Example 3.0.2 How many perfect matchings does Kn;n have? It's not too hard to see that Kn;n has n! perfect matchings. We have n choices to pair the first element in one of the partite sets, then n − 1 for the second element, and so on, until we have 1 choice for the final element. Example 3.0.3 Suppose we looked at a clique? Clearly an odd clique can't have any perfect matchings, but how many perfect matchings are there in K2n? Let fn be the number of perfect matchings in K2n. We can observe the following recusrsive formula must hold. fn = (2n − 1)fn−1; f0 = 1 This is because there are 2n − 11 choices for the partner of the first vertex, and after making that choice the problem reduces to the number of perfect matchings on K2n−2. If we expand this relationship, we'll get (2n)! (2n − 1) · (2n − 3) ::: 5 · 3 · 1 = 2nn! We can derive this formula using another relationship, by • First, order the 2n people. There are (2n)! ways to do thos. • Then, pair them in order. Relative order is irrelevant so divide by 2n. • Finally, the order of the pairs is irrelevant, so divide by n!. As an exercise, try counting the number of perfect matchings in the Pe- tersen graph. When perfect matchings don't exist Neither of the graphs depicted in Figures 2 or 3 have perfect matchings. 6 Figure 2: No perfect matching Figure 3: Also no perfect matching 7 If we have a matching M that's maximal but not maximum, we look for an augmenting path, which is one where we can find M-alternating segments. (Recall that M is maximal if it cannot be extended, and maximum of no larger matching exists.) Definition 3.0.4 Given a matching M, an M-alternating path is a path that alternates between edges in M and edges not in M. An M-augmenting path is an M-alternating path whose endpoints are not saturated by M. Given an M-augmenting path P , we can replace the edges of M in P with the other edges of P to obtain a new matching M 0 with one more edge. Definition 3.0.5 Let G be a graph, and consider two different matchings M, M 0 for G.
Recommended publications
  • K-Outerplanar Graphs, Planar Duality, and Low Stretch Spanning Trees
    k-Outerplanar Graphs, Planar Duality, and Low Stretch Spanning Trees Yuval Emek∗ Abstract Low distortion probabilistic embedding of graphs into approximating trees is an extensively studied topic. Of particular interest is the case where the approximating trees are required to be (subgraph) spanning trees of the given graph (or multigraph), in which case, the focus is usually on the equivalent problem of finding a (single) tree with low average stretch. Among the classes of graphs that received special attention in this context are k-outerplanar graphs (for a fixed k): Chekuri, Gupta, Newman, Rabinovich, and Sinclair show that every k-outerplanar graph can be probabilistically embedded into approximating trees with constant distortion regardless of the size of the graph. The approximating trees in the technique of Chekuri et al. are not necessarily spanning trees, though. In this paper it is shown that every k-outerplanar multigraph admits a spanning tree with constant average stretch. This immediately translates to a constant bound on the distortion of probabilistically embedding k-outerplanar graphs into their spanning trees. Moreover, an efficient randomized algorithm is presented for constructing such a low average stretch spanning tree. This algorithm relies on some new insights regarding the connection between low average stretch spanning trees and planar duality. Keywords: planar graphs, outerplanarity, average stretch, planar dual. ∗Microsoft Israel R&D Center, Herzelia, Israel and School of Electrical Engineering, Tel Aviv University, Tel Aviv, Israel. E-mail: [email protected]. Supported in part by the Israel Science Foundation, grants 221/07 and 664/05. 1 Introduction The problem.
    [Show full text]
  • Characterizations of Restricted Pairs of Planar Graphs Allowing Simultaneous Embedding with Fixed Edges
    Characterizations of Restricted Pairs of Planar Graphs Allowing Simultaneous Embedding with Fixed Edges J. Joseph Fowler1, Michael J¨unger2, Stephen Kobourov1, and Michael Schulz2 1 University of Arizona, USA {jfowler,kobourov}@cs.arizona.edu ⋆ 2 University of Cologne, Germany {mjuenger,schulz}@informatik.uni-koeln.de ⋆⋆ Abstract. A set of planar graphs share a simultaneous embedding if they can be drawn on the same vertex set V in the Euclidean plane without crossings between edges of the same graph. Fixed edges are common edges between graphs that share the same simple curve in the simultaneous drawing. Determining in polynomial time which pairs of graphs share a simultaneous embedding with fixed edges (SEFE) has been open. We give a necessary and sufficient condition for when a pair of graphs whose union is homeomorphic to K5 or K3,3 can have an SEFE. This allows us to determine which (outer)planar graphs always an SEFE with any other (outer)planar graphs. In both cases, we provide efficient al- gorithms to compute the simultaneous drawings. Finally, we provide an linear-time decision algorithm for deciding whether a pair of biconnected outerplanar graphs has an SEFE. 1 Introduction In many practical applications including the visualization of large graphs and very-large-scale integration (VLSI) of circuits on the same chip, edge crossings are undesirable. A single vertex set can be used with multiple edge sets that each correspond to different edge colors or circuit layers. While the pairwise union of all edge sets may be nonplanar, a planar drawing of each layer may be possible, as crossings between edges of distinct edge sets are permitted.
    [Show full text]
  • Minor-Closed Graph Classes with Bounded Layered Pathwidth
    Minor-Closed Graph Classes with Bounded Layered Pathwidth Vida Dujmovi´c z David Eppstein y Gwena¨elJoret x Pat Morin ∗ David R. Wood { 19th October 2018; revised 4th June 2020 Abstract We prove that a minor-closed class of graphs has bounded layered pathwidth if and only if some apex-forest is not in the class. This generalises a theorem of Robertson and Seymour, which says that a minor-closed class of graphs has bounded pathwidth if and only if some forest is not in the class. 1 Introduction Pathwidth and treewidth are graph parameters that respectively measure how similar a given graph is to a path or a tree. These parameters are of fundamental importance in structural graph theory, especially in Roberston and Seymour's graph minors series. They also have numerous applications in algorithmic graph theory. Indeed, many NP-complete problems are solvable in polynomial time on graphs of bounded treewidth [23]. Recently, Dujmovi´c,Morin, and Wood [19] introduced the notion of layered treewidth. Loosely speaking, a graph has bounded layered treewidth if it has a tree decomposition and a layering such that each bag of the tree decomposition contains a bounded number of vertices in each layer (defined formally below). This definition is interesting since several natural graph classes, such as planar graphs, that have unbounded treewidth have bounded layered treewidth. Bannister, Devanny, Dujmovi´c,Eppstein, and Wood [1] introduced layered pathwidth, which is analogous to layered treewidth where the tree decomposition is arXiv:1810.08314v2 [math.CO] 4 Jun 2020 required to be a path decomposition.
    [Show full text]
  • NP-Completeness of List Coloring and Precoloring Extension on the Edges of Planar Graphs
    NP-completeness of list coloring and precoloring extension on the edges of planar graphs D´aniel Marx∗ 17th October 2004 Abstract In the edge precoloring extension problem we are given a graph with some of the edges having a preassigned color and it has to be decided whether this coloring can be extended to a proper k-edge-coloring of the graph. In list edge coloring every edge has a list of admissible colors, and the question is whether there is a proper edge coloring where every edge receives a color from its list. We show that both problems are NP-complete on (a) planar 3-regular bipartite graphs, (b) bipartite outerplanar graphs, and (c) bipartite series-parallel graphs. This improves previous results of Easton and Parker [6], and Fiala [8]. 1 Introduction In graph vertex coloring we have to assign colors to the vertices such that neighboring vertices receive different colors. Starting with [7] and [28], a gener- alization of coloring was investigated: in the list coloring problem each vertex can receive a color only from its prescribed list of admissible colors. In the pre- coloring extension problem a subset W of the vertices have preassigned colors and we have to extend this precoloring to a proper coloring of the whole graph, using only colors from a given color set C. It can be viewed as a special case of list coloring: the list of a precolored vertex consists of a single color, while the list of every other vertex is C. A thorough survey on list coloring, precoloring extension, and list chromatic number can be found in [26, 1, 12, 13].
    [Show full text]
  • Star Coloring Outerplanar Bipartite Graphs
    Discussiones Mathematicae Graph Theory 39 (2019) 899–908 doi:10.7151/dmgt.2109 STAR COLORING OUTERPLANAR BIPARTITE GRAPHS Radhika Ramamurthi and Gina Sanders Department of Mathematics California State University San Marcos San Marcos, CA 92096-0001 USA e-mail: [email protected] Abstract A proper coloring of the vertices of a graph is called a star coloring if at least three colors are used on every 4-vertex path. We show that all outerplanar bipartite graphs can be star colored using only five colors and construct the smallest known example that requires five colors. Keywords: chromatic number, star coloring, outerplanar bipartite graph. 2010 Mathematics Subject Classification: 05C15. 1. Introduction A proper r-coloring of a graph G is an assignment of labels from {1, 2,...,r} to the vertices of G so that adjacent vertices receive distinct colors. The minimum r so that G has a proper r-coloring is called the chromatic number of G, denoted by χ(G). The chromatic number is one of the most studied parameters in graph theory, and by convention, the term coloring of a graph is usually used instead of proper coloring. In 1973, Gr¨unbaum [5] considered proper colorings with the additional constraint that the subgraph induced by every pair of color classes is acyclic, i.e., contains no cycles. He called such colorings acyclic colorings, and the minimum r such that G has an acyclic r-coloring is called the acyclic chromatic number of G, denoted by a(G). In introducing the notion of an acyclic coloring, Gr¨unbaum noted that the condition that the union of any two color classes induces a forest can be generalized to other bipartite graphs.
    [Show full text]
  • Surviving Rates of Trees and Outerplanar Graphs for the Firefighter Problem
    Surviving rates of trees and outerplanar graphs for the ¯re¯ghter problem Leizhen Cai¤ Yongxi Chengy Elad Verbinz Yuan Zhouz Abstract The ¯re¯ghter problem is a discrete-time game on graphs introduced by Hartnell in an attempt to model the spread of ¯re, diseases, computer viruses and suchlike in a macro-control level. To measure the defence ability of a graph as a whole, Cai and Wang de¯ned the surviving rate of a graph G for the ¯re¯ghter problem to be the average percentage of vertices that can be saved when a ¯re starts randomly at one vertex of G. In this paper, we prove that the surviving rate of every n-vertex outerplanar graph log n is at least 1 ¡ £( n ), which is asymptotically tight. We also show that the greedy log n strategy of Hartnell and Li for trees saves at least 1 ¡ £( n ) percentage of vertices on average for an n-vertex tree. Key words: ¯re¯ghter problem, surviving rate, tree, outerplanar graph 1 Introduction The study of a discrete-time game, the ¯re¯ghter problem, was initiated by Hartnell [7] in 1995 in an attempt to model the spread of ¯re, diseases, computer viruses and suchlike in a macro-control level. At time 0, a ¯re breaks out at a vertex v of a graph G = (V; E). At each subsequent time, a ¯re¯ghter protects one vertex not yet on ¯re, and the ¯re then spreads from all burning vertices to all their unprotected neighbors. The process ends when the ¯re can no longer spread.
    [Show full text]
  • Fractional and Circular Separation Dimension of Graphs
    Fractional and Circular Separation Dimension of Graphs Sarah J. Loeb∗and Douglas B. West† Revised June 2017 Abstract The separation dimension of a graph G, written π(G), is the minimum number of linear orderings of V (G) such that every two nonincident edges are “separated” in some ordering, meaning that both endpoints of one edge appear before both endpoints of the other. We introduce the fractional separation dimension πf (G), which is the minimum of a/b such that some a linear orderings (repetition allowed) separate every two nonincident edges at least b times. In contrast to separation dimension, fractional separation dimension is bounded: always πf (G) 3, with equality if and only if G contains K4. There is no stronger ≤ 3m bound even for bipartite graphs, since πf (Km,m) = πf (Km+1,m) = m+1 . We also compute πf (G) for cycles and some complete tripartite graphs. We show that πf (G) < √2 when G is a tree and present a sequence of trees on which the value tends to 4/3. Finally, we consider analogous problems for circular orderings, where pairs of non- incident edges are separated unless their endpoints alternate. Let π◦(G) be the number of circular orderings needed to separate all pairs and πf◦(G) be the fractional version. Among our results: (1) π◦(G) = 1 if and only G is outerplanar. (2) π◦(G) 2 when 3 ≤ G is bipartite. (3) π◦(Kn) log2 log3(n 1). (4) πf◦(G) 2 for every graph G, with ≥ − 3m 3 ≤ equality if and only if K4 G.
    [Show full text]
  • Exploring the Earth-Moon Problem for Doubly Outerplanar Graphs
    Background Earth-Moon Problem Specific Cases of Earth-Moon Graphs Exploring The Earth-Moon Problem for Doubly Outerplanar Graphs Maia Wichman Grand Valley State University Partner: Hannah Critchfield, James Madison University Critchfield, Wichman Grand Valley State University REU Exploring The Earth-Moon Problem for Doubly Outerplanar Graphs Background Earth-Moon Problem Specific Cases of Earth-Moon Graphs Overview 1 Background 2 Earth-Moon Problem 3 Specific Cases of Earth-Moon Graphs Critchfield, Wichman Grand Valley State University REU Exploring The Earth-Moon Problem for Doubly Outerplanar Graphs A graph is planar if it can be drawn on the plane without edges crossing. Background Earth-Moon Problem Specific Cases of Earth-Moon Graphs A graph G is a set of vertices V together with a set of edges E which are pairs of vertices. Critchfield, Wichman Grand Valley State University REU Exploring The Earth-Moon Problem for Doubly Outerplanar Graphs A graph is planar if it can be drawn on the plane without edges crossing. Background Earth-Moon Problem Specific Cases of Earth-Moon Graphs A graph G is a set of vertices V together with a set of edges E which are pairs of vertices. Critchfield, Wichman Grand Valley State University REU Exploring The Earth-Moon Problem for Doubly Outerplanar Graphs Background Earth-Moon Problem Specific Cases of Earth-Moon Graphs A graph G is a set of vertices V together with a set of edges E which are pairs of vertices. A graph is planar if it can be drawn on the plane without edges crossing. Critchfield, Wichman Grand Valley State University REU Exploring The Earth-Moon Problem for Doubly Outerplanar Graphs Background Earth-Moon Problem Specific Cases of Earth-Moon Graphs A graph G is a set of vertices V together with a set of edges E which are pairs of vertices.
    [Show full text]
  • DISSERTATION GENERALIZED BOOK EMBEDDINGS Submitted By
    DISSERTATION GENERALIZED BOOK EMBEDDINGS Submitted by Shannon Brod Overbay Department of Mathematics In partial fulfillment of the requirements for the degree of Doctor of Philosophy Colorado State University Fort Collins, Colorado Summer 1998 COLORADO STATE UNIVERSITY May 13, 1998 WE HEREBY RECOMMEND THAT THE DISSERTATION PREPARED UNDER OUR SUPERVISION BY SHANNON BROD OVERBAY ENTITLED GENERALIZED BOOK EMBEDDINGS BE ACCEPTED AS FULFILLING IN PART REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSO- PHY. Committee on Graduate Work Adviser Department Head ii ABSTRACT OF DISSERTATION GENERALIZED BOOK EMBEDDINGS An n-book is formed by joining n distinct half-planes, called pages, together at a line in 3-space, called the spine. The book thickness bt(G) of a graph G is the smallest number of pages needed to embed G in a book so that the vertices lie on the spine and each edge lies on a single page in such a way that no two edges cross each other or the spine. In the first chapter, we provide background material on book embeddings of graphs and preview our results on several related problems. In the second chapter, we use a theorem of Bernhart and Kainen and a result of Whitney to present a large class of two-page embeddable planar graphs. In particular, we prove that a graph G that can be drawn in the plane so that G has no triangles other than faces can be embedded in a two-page book. The discussion of planar graphs continues in the third chapter where we define a book with a tree-spine.
    [Show full text]
  • The D-Precoloring Problem for K-Degenerate Graphs∗
    The d-precoloring problem for k-degenerate graphs∗ Janka Chleb´ıkov´a† Faculty of Mathematics, Physics, and Informatics Comenius University, 842 48 Bratislava, Slovakia [email protected] and Klaus Jansen Institut f¨urInformatik und Praktische Mathematik Christian-Albrechts-Universit¨at zu Kiel Olshausenstr. 40, D-24098 Kiel, Germany [email protected] Abstract In this paper we deal with the d-Precoloring Extension problem, (d-PrExt), in various classes of graphs. The d-PrExt problem is the special case of precoloring extension problem where, for a fixed constant d, input instances are restricted to contain at most d precolored vertices for every available color. The goal is to decide if there exists an extension of given precoloring using only available colors or to find it. We present a linear time algorithm for both, the decision and the search version of d-PrExt, in the following cases: (i) restricted to the class of k-degenerate graphs (hence also planar graphs) and with sufficiently large set S of available colors, and (ii) restricted to the class of partial k-trees (without any size restriction on S). We also study the following problem related to d-PrExt: given an instance of the d-PrExt problem which is extendable by colors of S, what is the minimum number of colors of S sufficient to use for precolorless vertices over all such extensions? We establish lower and upper bounds on this value for k-degenerate graphs and its various subclasses (e.g., planar graphs, outerplanar graphs) and prove tight results for the class of trees.
    [Show full text]
  • Large Induced Acyclic and Outerplanar Subgraphs of 2-Outerplanar Graph ∗
    Large induced acyclic and outerplanar subgraphs of 2-outerplanar graph ∗ Glencora Borradaile Hung Le Oregon State University Oregon State University [email protected] [email protected] Melissa Sherman-Bennett University of California, Berkeley m [email protected] Abstract Albertson and Berman conjectured that every planar graph has an induced forest on half of its vertices. The best known lower bound, due to Borodin, is that every planar graph has an induced forest on two fifths of its vertices. In a related result, Chartran and Kronk, proved that the vertices of every planar graph can be partitioned into three sets, each of which induce a forest. We show tighter results for 2-outerplanar graphs. We show that every 2-outerplanar graph has an induced forest on at least half the vertices by showing that its vertices can be partitioned into two sets, each of which induces a forest. We also show that every 2-outerplanar graph has an induced outerplanar graph on at least two-thirds of its vertices. 1 Introduction For many optimization problems, finding subgraphs with certain properties is a key to developing algorithms with efficient running times or bounded approximation ratios. For example, balanced separator subgraphs support the design of divide-and-conquer algorithms for minor-closed graph families [18, 17, 12, 15] and large subgraphs of low-treewidth1 support the design of approximation schemes, also for minor-closed graph families [4, 8, 11]. In the area of graph drawing, one often starts by drawing a subgraph that is somehow easier to draw than the entire graph (such as a planar graph or a tree) and then adds in remaining graph features [5]; the larger the subgraph, the arXiv:1711.00212v1 [math.CO] 1 Nov 2017 bigger the head-start for drawing and the more structure the subgraph has, the easier the subgraph will be to draw.
    [Show full text]
  • Canonical Decomposition of Outerplanar Maps and Application to Enumeration, Coding and Generation
    Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 9, no. 2, pp. 185–204 (2005) Canonical Decomposition of Outerplanar Maps and Application to Enumeration, Coding and Generation Nicolas Bonichon Cyril Gavoille Nicolas Hanusse CNRS-LaBRI Universit´eBordeaux I bonichon,gavoille,hanusse @labri.fr { } Abstract In this article we define a canonical decomposition of rooted outerpla- nar maps into a spanning tree and a list of edges. This decomposition, constructible in linear time in the Word-RAM model, implies the existence of bijection between rooted outerplanar maps with n nodes and bicolored rooted ordered trees with n nodes where all the nodes of the last branch are colored white. As a consequence, for rooted outerplanar maps of n nodes, we derive: n− n • an enumeration formula, and an asymptotic of 23 Θ(log ); • an optimal data structure of asymptotically 3n bits, built in O(n) time, supporting adjacency and degree queries in worst-case constant time and neighbors query of a degree-d node in worst-case O(d) time. • an O(n) expected time uniform random generating algorithm. Article Type Communicated by Submitted Revised Regular paper X. He July 2003 August 2005 An extended abstract of this article appeared in Proceeding of WG’2003, Lecture Notes in Computer Science 2880, pp. 81-92. This work was supported by the ACI Masse de donn´ees grant of French Ministery of Research under Navgraphe project. Bonichon et al., Decomp. of Outerpl. Maps, JGAA, 9(2) 185–204 (2005) 186 1 Introduction A graph is outerplanar if it can be drawn on the plane with non-intersecting edges such that all the nodes lie on the boundary of the infinite face, also called outerface.
    [Show full text]