1,192 research outputs found

    Planarity of Streamed Graphs

    Full text link
    In this paper we introduce a notion of planarity for graphs that are presented in a streaming fashion. A streamed graph\textit{streamed graph} is a stream of edges e1,e2,...,eme_1,e_2,...,e_m on a vertex set VV. A streamed graph is ω\omega-stream planar\textit{stream planar} with respect to a positive integer window size ω\omega if there exists a sequence of planar topological drawings Γi\Gamma_i of the graphs Gi=(V,{ejij<i+ω})G_i=(V,\{e_j \mid i\leq j < i+\omega\}) such that the common graph Gi=GiGi+1G^{i}_\cap=G_i\cap G_{i+1} is drawn the same in Γi\Gamma_i and in Γi+1\Gamma_{i+1}, for 1i<mω1\leq i < m-\omega. The Stream Planarity\textit{Stream Planarity} Problem with window size ω\omega asks whether a given streamed graph is ω\omega-stream planar. We also consider a generalization, where there is an additional backbone graph\textit{backbone graph} whose edges have to be present during each time step. These problems are related to several well-studied planarity problems. We show that the Stream Planarity\textit{Stream Planarity} Problem is NP-complete even when the window size is a constant and that the variant with a backbone graph is NP-complete for all ω2\omega \ge 2. On the positive side, we provide O(n+ωm)O(n+\omega{}m)-time algorithms for (i) the case ω=1\omega = 1 and (ii) all values of ω\omega provided the backbone graph consists of one 22-connected component plus isolated vertices and no stream edge connects two isolated vertices. Our results improve on the Hanani-Tutte-style O((nm)3)O((nm)^3)-time algorithm proposed by Schaefer [GD'14] for ω=1\omega=1.Comment: 21 pages, 9 figures, extended version of "Planarity of Streamed Graphs" (9th International Conference on Algorithms and Complexity, 2015

    Relaxing the Constraints of Clustered Planarity

    Full text link
    In a drawing of a clustered graph vertices and edges are drawn as points and curves, respectively, while clusters are represented by simple closed regions. A drawing of a clustered graph is c-planar if it has no edge-edge, edge-region, or region-region crossings. Determining the complexity of testing whether a clustered graph admits a c-planar drawing is a long-standing open problem in the Graph Drawing research area. An obvious necessary condition for c-planarity is the planarity of the graph underlying the clustered graph. However, such a condition is not sufficient and the consequences on the problem due to the requirement of not having edge-region and region-region crossings are not yet fully understood. In order to shed light on the c-planarity problem, we consider a relaxed version of it, where some kinds of crossings (either edge-edge, edge-region, or region-region) are allowed even if the underlying graph is planar. We investigate the relationships among the minimum number of edge-edge, edge-region, and region-region crossings for drawings of the same clustered graph. Also, we consider drawings in which only crossings of one kind are admitted. In this setting, we prove that drawings with only edge-edge or with only edge-region crossings always exist, while drawings with only region-region crossings may not. Further, we provide upper and lower bounds for the number of such crossings. Finally, we give a polynomial-time algorithm to test whether a drawing with only region-region crossings exist for biconnected graphs, hence identifying a first non-trivial necessary condition for c-planarity that can be tested in polynomial time for a noticeable class of graphs

    Implementing path coloring algorithms on planar graphs

    Get PDF
    Master's Project (M.S.) University of Alaska Fairbanks, 2017A path coloring of a graph partitions its vertex set into color classes such that each class induces a disjoint union of paths. In this project we implement several algorithms to compute path colorings of graphs embedded in the plane. We present two algorithms to path color plane graphs with 3 colors based on a proof by Poh in 1990. First we describe a naive algorithm that directly follows Poh's procedure, then we give a modified algorithm that runs in linear time. Independent results of Hartman and Skrekovski describe a procedure that takes a plane graph G and a list of 3 colors for each vertex, and computes a path coloring of G such that each vertex receives a color from its list. We present a linear time implementation based on Hartman and Skrekovski's proofs. A C++ implementation is provided for all three algorithms, utilizing the Boost Graph Library. Instructions are given on how to use the implementation to construct colorings for plane graphs represented by Boost data structures

    Picture theory: algorithms and software

    Get PDF
    This thesis is concerned with developing and implementing algorithms based upon the geometry of pictures. Spherical pictures have been used in many areas of combinatorial group theory, and particularly, they have shown to be a useful method when studying the second homotopy module, 1T2, of a presentation ([3],[4],[7],[12],[41] and [64]). Computational programs that implement picture theoretical and design algorithms could advance the areas in which picture theory can be used, due to the much faster time taken to derive results than that of manual calculations. A variety of algorithms are presented. A data structure has been devised to represent spherical pictures. A method is given that verifies that a given data structure represents a picture, or set of pictures, over a group presentation. This method includes a new planarity testing algorithm, which can be performed on any graph. A computational algorithm has been implemented that determines if a given presentation defines a group extension. This work is based upon the algorithm of Baik et al. [1] which has been developed using the theory of pictures. A 3-presentation for a group G is given by , where P is a presentation for G and s is a set of generators for 1T2. The set s can be described in a number of ways. An algorithm is given that produces a generating set of spherical pictures for 1T2 when s is given in the form of identity sequences. Conversely, if s is given in terms of spherical pictures, then the corresponding identity sequences that describe 1T2 can be determined. The above algorithms are contained in the Spherical PIcture Editor (SPICE). SPICE is a software package that enables a user to manually draw pictures over group presentations and, for these pictures, call the algorithms described above. It also contains a library of generating pictures for the non abelian groups of order at most 30. Furthermore, a method has been implemented that automatically draws a spherical picture from a corresponding identity sequence. Again, this new graph drawing technique can be performed on any arbitrary graph

    On Visibility Representations of Non-planar Graphs

    Get PDF
    A rectangle visibility representation (RVR) of a graph consists of an assignment of axis-aligned rectangles to vertices such that for every edge there exists a horizontal or vertical line of sight between the rectangles assigned to its endpoints. Testing whether a graph has an RVR is known to be NP-hard. In this paper, we study the problem of finding an RVR under the assumption that an embedding in the plane of the input graph is fixed and we are looking for an RVR that reflects this embedding. We show that in this case the problem can be solved in polynomial time for general embedded graphs and in linear time for 1-plane graphs (i.e., embedded graphs having at most one crossing per edge). The linear time algorithm uses a precise list of forbidden configurations, which extends the set known for straight-line drawings of 1-plane graphs. These forbidden configurations can be tested for in linear time, and so in linear time we can test whether a 1-plane graph has an RVR and either compute such a representation or report a negative witness. Finally, we discuss some extensions of our study to the case when the embedding is not fixed but the RVR can have at most one crossing per edge

    Counterexample to an extension of the Hanani-Tutte theorem on the surface of genus 4

    Full text link
    We find a graph of genus 55 and its drawing on the orientable surface of genus 44 with every pair of independent edges crossing an even number of times. This shows that the strong Hanani-Tutte theorem cannot be extended to the orientable surface of genus 44. As a base step in the construction we use a counterexample to an extension of the unified Hanani-Tutte theorem on the torus.Comment: 12 pages, 4 figures; minor revision, new section on open problem

    Advancements on SEFE and Partitioned Book Embedding Problems

    Full text link
    In this work we investigate the complexity of some problems related to the {\em Simultaneous Embedding with Fixed Edges} (SEFE) of kk planar graphs and the PARTITIONED kk-PAGE BOOK EMBEDDING (PBE-kk) problems, which are known to be equivalent under certain conditions. While the computational complexity of SEFE for k=2k=2 is still a central open question in Graph Drawing, the problem is NP-complete for k3k \geq 3 [Gassner {\em et al.}, WG '06], even if the intersection graph is the same for each pair of graphs ({\em sunflower intersection}) [Schaefer, JGAA (2013)]. We improve on these results by proving that SEFE with k3k \geq 3 and sunflower intersection is NP-complete even when the intersection graph is a tree and all the input graphs are biconnected. Also, we prove NP-completeness for k3k \geq 3 of problem PBE-kk and of problem PARTITIONED T-COHERENT kk-PAGE BOOK EMBEDDING (PTBE-kk) - that is the generalization of PBE-kk in which the ordering of the vertices on the spine is constrained by a tree TT - even when two input graphs are biconnected. Further, we provide a linear-time algorithm for PTBE-kk when k1k-1 pages are assigned a connected graph. Finally, we prove that the problem of maximizing the number of edges that are drawn the same in a SEFE of two graphs is NP-complete in several restricted settings ({\em optimization version of SEFE}, Open Problem 99, Chapter 1111 of the Handbook of Graph Drawing and Visualization).Comment: 29 pages, 10 figures, extended version of 'On Some NP-complete SEFE Problems' (Eighth International Workshop on Algorithms and Computation, 2014

    The Isomorphism Problem for Planar 3-Connected Graphs is in Unambiguous Logspace

    Get PDF
    The isomorphism problem for planar graphs is known to be efficiently solvable. For planar 3-connected graphs, the isomorphism problem can be solved by efficient parallel algorithms, it is in the class AC1AC^1. In this paper we improve the upper bound for planar 3-connected graphs to unambiguous logspace, in fact to ULcoULUL \cap coUL. As a consequence of our method we get that the isomorphism problem for oriented graphs is in NLNL. We also show that the problems are hard for LL

    The many faces of planarity : matching, augmentation, and embedding algorithms for planar graphs

    Get PDF
    corecore