Upright-Quad Drawing of St-Planar Learning Spaces David Eppstein Computer Science Department, University of California, Irvine [email protected]
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Confluent Hasse Diagrams
Confluent Hasse diagrams David Eppstein Joseph A. Simons Department of Computer Science, University of California, Irvine, USA. October 29, 2018 Abstract We show that a transitively reduced digraph has a confluent upward drawing if and only if its reachability relation has order dimension at most two. In this case, we construct a confluent upward drawing with O(n2) features, in an O(n) × O(n) grid in O(n2) time. For the digraphs representing series-parallel partial orders we show how to construct a drawing with O(n) fea- tures in an O(n) × O(n) grid in O(n) time from a series-parallel decomposition of the partial order. Our drawings are optimal in the number of confluent junctions they use. 1 Introduction One of the most important aspects of a graph drawing is that it should be readable: it should convey the structure of the graph in a clear and concise way. Ease of understanding is difficult to quantify, so various proxies for readability have been proposed; one of the most prominent is the number of edge crossings. That is, we should minimize the number of edge crossings in our drawing (a planar drawing, if possible, is ideal), since crossings make drawings harder to read. Another measure of readability is the total amount of ink required by the drawing [1]. This measure can be formulated in terms of Tufte’s “data-ink ratio” [22,35], according to which a large proportion of the ink on any infographic should be devoted to information. Thus given two different ways to present information, we should choose the more succinct and crossing-free presentation. -
LNCS 7034, Pp
Confluent Hasse Diagrams DavidEppsteinandJosephA.Simons Department of Computer Science, University of California, Irvine, USA Abstract. We show that a transitively reduced digraph has a confluent upward drawing if and only if its reachability relation has order dimen- sion at most two. In this case, we construct a confluent upward drawing with O(n2)features,inanO(n) × O(n)gridinO(n2)time.Forthe digraphs representing series-parallel partial orders we show how to con- struct a drawing with O(n)featuresinanO(n)×O(n)gridinO(n)time from a series-parallel decomposition of the partial order. Our drawings are optimal in the number of confluent junctions they use. 1 Introduction One of the most important aspects of a graph drawing is that it should be readable: it should convey the structure of the graph in a clear and concise way. Ease of understanding is difficult to quantify, so various proxies for it have been proposed, including the number of crossings and the total amount of ink required by the drawing [1,18]. Thus given two different ways to present information, we should choose the more succinct and crossing-free presentation. Confluent drawing [7,8,9,15,16] is a style of graph drawing in which multiple edges are combined into shared tracks, and two vertices are considered to be adjacent if a smooth path connects them in these tracks (Figure 1). This style was introduced to re- duce crossings, and in many cases it will also Fig. 1. Conventional and confluent improve the ink requirement by represent- drawings of K5,5 ing dense subgraphs concisely. -
Algorithms for Incremental Planar Graph Drawing and Two-Page Book Embeddings
Algorithms for Incremental Planar Graph Drawing and Two-page Book Embeddings Inaugural-Dissertation zur Erlangung des Doktorgrades der Mathematisch-Naturwissenschaftlichen Fakult¨at der Universit¨at zu Koln¨ vorgelegt von Martin Gronemann aus Unna Koln¨ 2015 Berichterstatter (Gutachter): Prof. Dr. Michael Junger¨ Prof. Dr. Markus Chimani Prof. Dr. Bettina Speckmann Tag der m¨undlichenPr¨ufung: 23. Juni 2015 Zusammenfassung Diese Arbeit besch¨aftigt sich mit zwei Problemen bei denen es um Knoten- ordnungen in planaren Graphen geht. Hierbei werden als erstes Ordnungen betrachtet, die als Grundlage fur¨ inkrementelle Zeichenalgorithmen dienen. Solche Algorithmen erweitern in der Regel eine vorhandene Zeichnung durch schrittweises Hinzufugen¨ von Knoten in der durch die Ordnung gegebene Rei- henfolge. Zu diesem Zweck kommen im Gebiet des Graphenzeichnens verschie- dene Ordnungstypen zum Einsatz. Einigen dieser Ordnungen fehlen allerdings gewunschte¨ oder sogar fur¨ einige Algorithmen notwendige Eigenschaften. Diese Eigenschaften werden genauer untersucht und dabei ein neuer Typ von Ord- nung entwickelt, die sogenannte bitonische st-Ordnung, eine Ordnung, welche Eigenschaften kanonischer Ordnungen mit der Flexibilit¨at herk¨ommlicher st- Ordnungen kombiniert. Die zus¨atzliche Eigenschaft bitonisch zu sein erm¨oglicht es, eine st-Ordnung wie eine kanonische Ordnung zu verwenden. Es wird gezeigt, dass fur¨ jeden zwei-zusammenh¨angenden planaren Graphen eine bitonische st-Ordnung in linearer Zeit berechnet werden kann. Im Ge- gensatz zu kanonischen Ordnungen, k¨onnen st-Ordnungen naturgem¨aß auch fur¨ gerichtete Graphen verwendet werden. Diese F¨ahigkeit ist fur¨ das Zeichnen von aufw¨artsplanaren Graphen von besonderem Interesse, da eine bitonische st-Ordnung unter Umst¨anden es erlauben wurde,¨ vorhandene ungerichtete Zei- chenverfahren fur¨ den gerichteten Fall anzupassen. -
55 GRAPH DRAWING Emilio Di Giacomo, Giuseppe Liotta, Roberto Tamassia
55 GRAPH DRAWING Emilio Di Giacomo, Giuseppe Liotta, Roberto Tamassia INTRODUCTION Graph drawing addresses the problem of constructing geometric representations of graphs, and has important applications to key computer technologies such as soft- ware engineering, database systems, visual interfaces, and computer-aided design. Research on graph drawing has been conducted within several diverse areas, includ- ing discrete mathematics (topological graph theory, geometric graph theory, order theory), algorithmics (graph algorithms, data structures, computational geometry, vlsi), and human-computer interaction (visual languages, graphical user interfaces, information visualization). This chapter overviews aspects of graph drawing that are especially relevant to computational geometry. Basic definitions on drawings and their properties are given in Section 55.1. Bounds on geometric and topological properties of drawings (e.g., area and crossings) are presented in Section 55.2. Sec- tion 55.3 deals with the time complexity of fundamental graph drawing problems. An example of a drawing algorithm is given in Section 55.4. Techniques for drawing general graphs are surveyed in Section 55.5. 55.1 DRAWINGS AND THEIR PROPERTIES TYPES OF GRAPHS First, we define some terminology on graphs pertinent to graph drawing. Through- out this chapter let n and m be the number of graph vertices and edges respectively, and d the maximum vertex degree (i.e., number of edges incident to a vertex). GLOSSARY Degree-k graph: Graph with maximum degree d k. ≤ Digraph: Directed graph, i.e., graph with directed edges. Acyclic digraph: Digraph without directed cycles. Transitive edge: Edge (u, v) of a digraph is transitive if there is a directed path from u to v not containing edge (u, v). -
The Complexity of the Partial Order Dimension Problem-Closing The
The Complexity of the Partial Order Dimension Problem – Closing the Gap † Stefan Felsner∗ Irina Mustat¸a˘ Martin Pergel Department of Software and Institut f¨ur Mathematik Berlin Mathematical School Computer Science Education Technische Universit¨at Berlin Technische Universit¨at Berlin Charles University Strasse des 17. Juni 136 Strasse des 17. Juni 136 Malostransk´en´am. 25 D-10623 Berlin, Germany D-10623 Berlin, Germany 118 00 Praha 1, Czech Republic Abstract The dimension of a partial order P is the minimum number of linear orders whose intersection is P . There are efficient algorithms to test if a partial order has dimension at most 2. In 1982 Yannakakis [25] showed that for k ≥ 3 to test if a partial order has dimension ≤ k is NP-complete. The height of a partial order P is the maximum size of a chain in P . Yannakakis also showed that for k ≥ 4 to test if a partial order of height 2 has dimension ≤ k is NP-complete. The complexity of deciding whether an order of height 2 has dimension 3 was left open. This question became one of the best known open problems in dimension theory for partial orders. We show that the problem is NP-complete. Technically, we show that the decision problem (3DH2) for dimension is equivalent to deciding for the existence of bipartite triangle containment representations (BTCon). This problem then allows a reduction from a class of planar satisfiability problems (P-3-CON-3-SAT(4)) which is known to be NP-hard. Mathematics Subject Classifications (2010) 06A07, 68Q25, 05C62, Keywords : NP-complete, triangle containment, intersection graph. -
Convexity in Partial Cubes: the Hull Number
Convexity in partial cubes: the hull number Marie Albenque1 and Kolja Knauer2 1 LIX UMR 7161, Ecole´ Polytechnique, CNRS, France 2 LIF UMR 7279, Universit´eAix-Marseille, CNRS, France Abstract. We prove that the combinatorial optimization problem of de- termining the hull number of a partial cube is NP-complete. This makes partial cubes the minimal graph class for which NP-completeness of this problem is known and improves earlier results in the literature. On the other hand we provide a polynomial-time algorithm to determine the hull number of planar partial cube quadrangulations. Instances of the hull number problem for partial cubes described include poset dimension and hitting sets for interiors of curves in the plane. To obtain the above results, we investigate convexity in partial cubes and obtain a new characterization of these graphs in terms of their lattice of convex subgraphs. This refines a theorem of Handa. Furthermore we provide a topological representation theorem for planar partial cubes, generalizing a result of Fukuda and Handa about tope graphs of rank 3 oriented matroids. 1 Introduction The objective of this paper is the study of convexity and particularly of the hull number problem on different classes of partial cubes. Our contribution is twofold. First, we establish that the hull number problem is NP-complete for partial cubes, second, we emphasize reformulations of the hull number problem for certain classes of partial cubes leading to interesting problems in geometry, poset theory and plane topology. In particular, we provide a polynomial time algorithm for the class of planar partial cube quadrangulations. -
DA14 Abstracts 27
DA14 Abstracts 27 IP1 [email protected] Shape, Homology, Persistence, and Stability CP0 My personal journey to the fascinating world of geomet- Distributed Computation of Persistent Homology ric forms started 30 years ago with the invention of al- pha shapes in the plane. It took about 10 years before Advances in algorithms for computing persistent homol- we generalized the concept to higher dimensions, we pro- ogy have reduced the computation time drastically – as duced working software with a graphics interface for the long as the algorithm does not exhaust the available mem- 3-dimensional case, and we added homology to the com- ory. Following up on a recently presented parallel method putations. Needless to say that this foreshadowed the in- for persistence computation on shared memory systems, we ception of persistent homology, because it suggested the demonstrate that a simple adaption of the standard reduc- study of filtrations to capture the scale of a shape or data tion algorithm leads to a variant for distributed systems. set. Importantly, this method has fast algorithms. The Our algorithmic design ensures that the data is distributed arguably most useful result on persistent homology is the over the nodes without redundancy; this permits the com- stability of its diagrams under perturbations. putation of much larger instances than on a single machine. The parallelism often speeds up the computation compared Herbert Edelsbrunner to sequential and even parallel shared memory algorithms. Institute of Science and Technology Austria In our experiments, we were able to compute the persis- [email protected] tent homology of filtrations with more than a billion (109) elements within seconds on a cluster with 32 nodes using less than 10GB of memory per node. -
Interval Orders
Interval Orders Combinatorial Structure and Algorithms im Februar von Dipl Math Stefan Felsner am Fachb ereich Mathematik der Technischen Universitat Berlin vorgelegte Dissertation D Preface This thesis is based on my research on partially ordered sets and sp ecially inter val orders that b egan when I came to Berlin in Professor RH Mohring intro duced me to the eld I like to thank him for stimulations and guidance over the years Beside the intro duction the thesis combines ve chapters that have in common the central role played by interval orders On the other hand they are only lo osely connected and so I decided to make the chapters selfcontained To emphasize the indep endency of the chapters references are given at the end of each one Articles and b o oks that are of signicance to the general theme and have b een consulted without b eing cited directly are collected in the references of the intro duction An outline of the contents of the thesis can b e found in the preview at the b eginning of the intro duction All further chapters are op ened by a section called Intro duction and Overview That sp ecial section may serve as an extended abstract for the contents of the chapter it also gives the relationship to the existing literature I am indebted to many p eople for encouragement and discussions Sp ecial thanks go to Tom Trotter Lorenz Wernisch and the memb ers of our group dis crete algorithmical mathematics which provided an ageeable and creative atmo sphere Stefan Felsner Berlin February Contents Intro duction Preview -
Permutation Bigraphs: an Analogue of Permutation Graphs1
Permutation Bigraphs: An Analogue of Permutation Graphs1 2.1 Introduction An undirected graph G on n vertices is a permutation graph if there are two orderings of V(G) such that vertices are adjacent if and only if they appear in opposite order in the two orderings. The class of permutation graphs is well studied; MathSciNet lists more than 100 papers. The definition can be restated in several well-known equivalent ways. Theorem 2.1.1. [26, 27, 38] The following conditions are equivalent for a graph G: (a) G is a permutation graph; {b) Both G and its complement G are transitively orientable; (c) G is the containment graph of a family of intervals in IR; 1 A part of this chapter is co-authored with D.B.West and is communicated to J.Graph Theory for possible publication 34 CHAPTER 2. PERMUTATION BIGRAPHS 35 (d) G is the comparability graph of a poset of dimension at most 2. In this chapter, we introduce two bipartite analogues of this family, one of which we call "permutation bigraphs". We do not mean "bipartite permuta tion graphs", which are those graphs that are bipartite and are permutation graphs (discussed in [86, 87]). An X, Y -bigraph is a bipartite graph with partite sets X and Y. As defined above, two orderings of X U Y produce a permutation graph G with vertex set XU Y. There are two natural ways to generate an X, Y-bigraph contained in G. In the first, one simply deletes the edges within X and within Y. -
Graph Drawing Tutorial
Graph Drawing Tutorial Isabel F. Cruz Worcester Polytechnic Institute Roberto Tamassia Brown University Graph Drawing 0 Introduction Graph Drawing 1 ■ ■ covers), hierarchies), diagrams), diagrams), hierarchies), applications to visualization of andsystemsforthe algorithms, models, 30 53 41 28 27 47 11 16 21 44 15 14 20 18 52 29 17 56 WWW 22 54 38 63 34 58 45 55 51 31 12 Graph Drawing knowledge representation project management 1 9 13 61 32 46 telecommunications database systems 3 43 40 39 36 59 50 (browsing history) ... 62 42 35 37 software engineering 4 graphs 24 2 25 Graph Drawing 26 23 33 48 10 5 6 57 8 19 7 49 60 2 and networks (ER- (PERT (ring (class (isa Drawing Conventions ■ general constraints on the geometric representation of vertices and edges polyline drawing bend planar straight-line drawing orthogonal drawing Graph Drawing 3 Drawing Conventions planar othogonal straight-line drawing abc e d f g strong visibility representation f a c b d e g Graph Drawing 4 Drawing Conventions ■ directed acyclic graphs are usually drawn in such a way that all edges “flow” in the same direction, e.g., from left to right, or from bottom to top ■ such upward drawings effectively visualize hierarchical relationships, such as covering digraphs of ordered sets ■ not every planar acyclic digraph admits a planar upward drawing Graph Drawing 5 Resolution ■ display devices and the human eye have finite resolution ■ examples of resolution rules: ■ integer coordinates for vertices and bends (grid drawings) ■ prescribed minimum distance between vertices ■ prescribed minimum distance between vertices and nonincident edges ■ prescribed minimum angle formed by consecutive incident edges (angular resolution) Graph Drawing 6 Angular Resolution • The angular resolution ρ of a straight- line drawing is the smallest angle formed by two edges incident on the same vertex • High angular resolution is desirable in visualization applications and in the design of optical communication networks. -
On the Approximability of Single Machine Scheduling with Precedence Constraints
On the Approximability of Single Machine Scheduling with Precedence Constraints Christoph Amb¨uhl Dep. of CS, The University of Liverpool, Ashton Building, Ashton Street, Liverpool L69 3BX, UK email: [email protected] http://www.csc.liv.ac.uk/~christoph/ Monaldo Mastrolilli IDSIA, Galleria 2,6928 Manno-Lugano, Switzerland email: [email protected] http://www.idsia.ch/~monaldo/ Nikolaus Mutsanas IDSIA, Galleria 2,6928 Manno-Lugano, Switzerland email: [email protected] http://www.idsia.ch/~nikos/ Ola Svensson CSC, KTH, SE-100 44 Stockholm, Sweden email: [email protected] http://www.nada.kth.se/~osven/ We consider the single machine scheduling problem to minimize the weighted sum of completion times under precedence constrains. In a series of recent papers it was established that this scheduling problem is a special case of minimum weighted vertex cover. In this paper we show that the vertex cover graph associated with the scheduling problem is exactly the graph of incomparable pairs defined in dimension theory of partial orders. Exploiting this relationship allows us to present a framework for obtaining (2 − 2=f)-approximation algorithms provided that the set of precedence constraints has fractional dimension at most f. Our approach yields the best known approximation ratios for all previously considered special classes of precedence constraints, and it provides the first results for bounded degree and orders of interval dimension 2. On the negative side, we show that the addressed problem remains NP-hard even when restricted to the special case of interval orders. Furthermore, we prove that the general problem, if a fixed cost present in all feasible schedules is ignored, becomes as hard to approximate as vertex cover. -
Partially Ordered Knapsack and Applications to Scheduling Stavros G
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Discrete Applied Mathematics 155 (2007) 889–897 www.elsevier.com/locate/dam Partially ordered knapsack and applications to scheduling Stavros G. Kolliopoulosa,1, George Steinerb,2 aDepartment of Informatics and Telecommunications, National and Kapodistrian University of Athens, Panepistimiopolis Ilissia, Athens 157 84, Greece bManagement Science and Information Systems, McMaster University, Hamilton, Ont., Canada L8S 4M4 Received 19 December 2003; received in revised form 14 July 2006; accepted 28 August 2006 Available online 16 October 2006 Abstract In the partially ordered knapsack problem (POK) we are given a set N of items and a partial order ≺P on N. Each item has a size and an associated weight. The objective is to pack a set N ⊆ N of maximum weight in a knapsack of bounded size. N should be precedence-closed, i.e., be a valid prefix of ≺P . POK is a natural generalization, for which very little is known, of the classical Knapsack problem. In this paper we present both positive and negative results. We give an FPTAS for the important case of a two- dimensional partial order, a class of partial orders which is a substantial generalization of the series-parallel class, and we identify the first non-trivial special case for which a polynomial-time algorithm exists. Our results have implications for approximation algorithms for scheduling precedence-constrained jobs on a single machine to minimize the sum of weighted completion times, a problem closely related to POK. © 2006 Published by Elsevier B.V.