A Practical Scalable Shared-Memory Parallel Algorithm for Computing Minimum Spanning Trees
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
1 Steiner Minimal Trees
Steiner Minimal Trees¤ Bang Ye Wu Kun-Mao Chao 1 Steiner Minimal Trees While a spanning tree spans all vertices of a given graph, a Steiner tree spans a given subset of vertices. In the Steiner minimal tree problem, the vertices are divided into two parts: terminals and nonterminal vertices. The terminals are the given vertices which must be included in the solution. The cost of a Steiner tree is de¯ned as the total edge weight. A Steiner tree may contain some nonterminal vertices to reduce the cost. Let V be a set of vertices. In general, we are given a set L ½ V of terminals and a metric de¯ning the distance between any two vertices in V . The objective is to ¯nd a connected subgraph spanning all the terminals of minimal total cost. Since the distances are all nonnegative in a metric, the solution is a tree structure. Depending on the given metric, two versions of the Steiner tree problem have been studied. ² (Graph) Steiner minimal trees (SMT): In this version, the vertex set and metric is given by a ¯nite graph. ² Euclidean Steiner minimal trees (Euclidean SMT): In this version, V is the entire Euclidean space and thus in¯nite. Usually the metric is given by the Euclidean distance 2 (L -norm). That is, for two points with coordinates (x1; y2) and (x2; y2), the distance is p 2 2 (x1 ¡ x2) + (y1 ¡ y2) : In some applications such as VLSI routing, L1-norm, also known as rectilinear distance, is used, in which the distance is de¯ned as jx1 ¡ x2j + jy1 ¡ y2j: Figure 1 illustrates a Euclidean Steiner minimal tree and a graph Steiner minimal tree. -
Packing and Covering Dense Graphs
Packing and Covering Dense Graphs Noga Alon ∗ Yair Caro y Raphael Yuster z Abstract Let d be a positive integer. A graph G is called d-divisible if d divides the degree of each vertex of G. G is called nowhere d-divisible if no degree of a vertex of G is divisible by d. For a graph H, gcd(H) denotes the greatest common divisor of the degrees of the vertices of H. The H-packing number of G is the maximum number of pairwise edge disjoint copies of H in G. The H-covering number of G is the minimum number of copies of H in G whose union covers all edges of G. Our main result is the following: For every fixed graph H with gcd(H) = d, there exist positive constants (H) and N(H) such that if G is a graph with at least N(H) vertices and has minimum degree at least (1 − (H)) G , then the H-packing number of G and the H-covering number of G can be computed j j in polynomial time. Furthermore, if G is either d-divisible or nowhere d-divisible, then there is a closed formula for the H-packing number of G, and the H-covering number of G. Further extensions and solutions to related problems are also given. 1 Introduction All graphs considered here are finite, undirected and simple, unless otherwise noted. For the standard graph-theoretic terminology the reader is referred to [1]. Let H be a graph without isolated vertices. An H-covering of a graph G is a set L = G1;:::;Gs of subgraphs of G, where f g each subgraph is isomorphic to H, and every edge of G appears in at least one member of L. -
Embedding Trees in Dense Graphs
Embedding trees in dense graphs Václav Rozhoň February 14, 2019 joint work with T. Klimo¹ová and D. Piguet Václav Rozhoň Embedding trees in dense graphs February 14, 2019 1 / 11 Alternative definition: substructures in graphs Extremal graph theory Definition (Extremal graph theory, Bollobás 1976) Extremal graph theory, in its strictest sense, is a branch of graph theory developed and loved by Hungarians. Václav Rozhoň Embedding trees in dense graphs February 14, 2019 2 / 11 Extremal graph theory Definition (Extremal graph theory, Bollobás 1976) Extremal graph theory, in its strictest sense, is a branch of graph theory developed and loved by Hungarians. Alternative definition: substructures in graphs Václav Rozhoň Embedding trees in dense graphs February 14, 2019 2 / 11 Density of edges vs. density of triangles (Razborov 2008) (image from the book of Lovász) Extremal graph theory Theorem (Mantel 1907) Graph G has n vertices. If G has more than n2=4 edges then it contains a triangle. Generalisations? Václav Rozhoň Embedding trees in dense graphs February 14, 2019 3 / 11 Extremal graph theory Theorem (Mantel 1907) Graph G has n vertices. If G has more than n2=4 edges then it contains a triangle. Generalisations? Density of edges vs. density of triangles (Razborov 2008) (image from the book of Lovász) Václav Rozhoň Embedding trees in dense graphs February 14, 2019 3 / 11 3=2 The answer for C4 is of order n , lower bound via finite projective planes. What is the answer for trees? Extremal graph theory Theorem (Mantel 1907) Graph G has n vertices. If G has more than n2=4 edges then it contains a triangle. -
Fractional Arboricity, Strength, and Principal Partitions in Graphs and Matroids
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Discrete Applied Mathematics 40 (1992) 285-302 285 North-Holland Fractional arboricity, strength, and principal partitions in graphs and matroids Paul A. Catlin Wayne State University, Detroit, MI 48202. USA Jerrold W. Grossman Oakland University, Rochester, MI 48309, USA Arthur M. Hobbs* Texas A & M University, College Station, TX 77843, USA Hong-Jian Lai** West Virginia University, Morgantown, WV 26506, USA Received 15 February 1989 Revised 15 November 1989 Abstract Catlin, P.A., J.W. Grossman, A.M. Hobbs and H.-J. Lai, Fractional arboricity, strength, and principal partitions in graphs and matroids, Discrete Applied Mathematics 40 (1992) 285-302. In a 1983 paper, D. Gusfield introduced a function which is called (following W.H. Cunningham, 1985) the strength of a graph or matroid. In terms of a graph G with edge set E(G) and at least one link, this is the function v(G) = mmFr9c) IFl/(w(G F) - w(G)), where the minimum is taken over all subsets F of E(G) such that w(G F), the number of components of G - F, is at least w(G) + 1. In a 1986 paper, C. Payan introduced thefractional arboricity of a graph or matroid. In terms of a graph G with edge set E(G) and at least one link this function is y(G) = maxHrC lE(H)I/(l V(H)1 -w(H)), where H runs over Correspondence to: Professor A.M. Hobbs, Department of Mathematics, Texas A & M University, College Station, TX 77843, USA. -
Limits of Graph Sequences
Snapshots of modern mathematics № 10/2019 from Oberwolfach Limits of graph sequences Tereza Klimošová Graphs are simple mathematical structures used to model a wide variety of real-life objects. With the rise of computers, the size of the graphs used for these models has grown enormously. The need to ef- ficiently represent and study properties of extremely large graphs led to the development of the theory of graph limits. 1 Graphs A graph is one of the simplest mathematical structures. It consists of a set of vertices (which we depict as points) and edges between the pairs of vertices (depicted as line segments); several examples are shown in Figure 1. Many real-life settings can be modeled using graphs: for example, social and computer networks, road and other transport network maps, and the structure of molecules (see Figure 2a and 2b). These models are widely used in computer science, for instance for route planning algorithms or by Google’s PageRank algorithm, which generates search results. What these models all have in common is the representation of a set of several objects (the vertices) and relations or connections between pairs of those objects (the edges). In recent years, with the increasing use of computers in all areas of life, it has become necessary to handle large volumes of data. To represent such data (for example, connections between internet servers) in turn requires graphs with very many vertices and an even larger number of edges. In such situations, traditional algorithms for processing graphs are often impractical, or even impossible, because the computations take too much time and/or computational 1 Figure 1: Examples of graphs. -
‣ Dijkstra's Algorithm ‣ Minimum Spanning Trees ‣ Prim, Kruskal, Boruvka ‣ Single-Link Clustering ‣ Min-Cost Arborescences
4. GREEDY ALGORITHMS II ‣ Dijkstra's algorithm ‣ minimum spanning trees ‣ Prim, Kruskal, Boruvka ‣ single-link clustering ‣ min-cost arborescences Lecture slides by Kevin Wayne Copyright © 2005 Pearson-Addison Wesley http://www.cs.princeton.edu/~wayne/kleinberg-tardos Last updated on Feb 18, 2013 6:08 AM 4. GREEDY ALGORITHMS II ‣ Dijkstra's algorithm ‣ minimum spanning trees ‣ Prim, Kruskal, Boruvka ‣ single-link clustering ‣ min-cost arborescences SECTION 4.4 Shortest-paths problem Problem. Given a digraph G = (V, E), edge weights ℓe ≥ 0, source s ∈ V, and destination t ∈ V, find the shortest directed path from s to t. 1 15 3 5 4 12 source s 0 3 8 7 7 2 9 9 6 1 11 5 5 4 13 4 20 6 destination t length of path = 9 + 4 + 1 + 11 = 25 3 Car navigation 4 Shortest path applications ・PERT/CPM. ・Map routing. ・Seam carving. ・Robot navigation. ・Texture mapping. ・Typesetting in LaTeX. ・Urban traffic planning. ・Telemarketer operator scheduling. ・Routing of telecommunications messages. ・Network routing protocols (OSPF, BGP, RIP). ・Optimal truck routing through given traffic congestion pattern. Reference: Network Flows: Theory, Algorithms, and Applications, R. K. Ahuja, T. L. Magnanti, and J. B. Orlin, Prentice Hall, 1993. 5 Dijkstra's algorithm Greedy approach. Maintain a set of explored nodes S for which algorithm has determined the shortest path distance d(u) from s to u. ・Initialize S = { s }, d(s) = 0. ・Repeatedly choose unexplored node v which minimizes shortest path to some node u in explored part, followed by a single edge (u, v) ℓe v d(u) u S s 6 Dijkstra's algorithm Greedy approach. -
Converting MST to TSP Path by Branch Elimination
applied sciences Article Converting MST to TSP Path by Branch Elimination Pasi Fränti 1,2,* , Teemu Nenonen 1 and Mingchuan Yuan 2 1 School of Computing, University of Eastern Finland, 80101 Joensuu, Finland; [email protected] 2 School of Big Data & Internet, Shenzhen Technology University, Shenzhen 518118, China; [email protected] * Correspondence: [email protected].fi Abstract: Travelling salesman problem (TSP) has been widely studied for the classical closed loop variant but less attention has been paid to the open loop variant. Open loop solution has property of being also a spanning tree, although not necessarily the minimum spanning tree (MST). In this paper, we present a simple branch elimination algorithm that removes the branches from MST by cutting one link and then reconnecting the resulting subtrees via selected leaf nodes. The number of iterations equals to the number of branches (b) in the MST. Typically, b << n where n is the number of nodes. With O-Mopsi and Dots datasets, the algorithm reaches gap of 1.69% and 0.61 %, respectively. The algorithm is suitable especially for educational purposes by showing the connection between MST and TSP, but it can also serve as a quick approximation for more complex metaheuristics whose efficiency relies on quality of the initial solution. Keywords: traveling salesman problem; minimum spanning tree; open-loop TSP; Christofides 1. Introduction The classical closed loop variant of travelling salesman problem (TSP) visits all the nodes and then returns to the start node by minimizing the length of the tour. Open loop TSP is slightly different variant, which skips the return to the start node. -
CSE 421 Algorithms Warmup Dijkstra's Algorithm
Single Source Shortest Path Problem • Given a graph and a start vertex s – Determine distance of every vertex from s CSE 421 – Identify shortest paths to each vertex Algorithms • Express concisely as a “shortest paths tree” • Each vertex has a pointer to a predecessor on Richard Anderson shortest path 1 u u Dijkstra’s algorithm 1 2 3 5 s x s x 3 4 3 v v Construct Shortest Path Tree Warmup from s • If P is a shortest path from s to v, and if t is 2 d d on the path P, the segment from s to t is a a 1 5 a 4 4 shortest path between s and t 4 e e -3 c s c v -2 s t 3 3 2 s 6 g g b b •WHY? 7 3 f f Assume all edges have non-negative cost Simulate Dijkstra’s algorithm Dijkstra’s Algorithm (strarting from s) on the graph S = {}; d[s] = 0; d[v] = infinity for v != s Round Vertex sabcd While S != V Added Choose v in V-S with minimum d[v] 1 a c 1 Add v to S 1 3 2 For each w in the neighborhood of v 2 s 4 1 d[w] = min(d[w], d[v] + c(v, w)) 4 6 3 4 1 3 y b d 4 1 3 1 u 0 1 1 4 5 s x 2 2 2 2 v 2 3 z 5 Dijkstra’s Algorithm as a greedy Correctness Proof algorithm • Elements committed to the solution by • Elements in S have the correct label order of minimum distance • Key to proof: when v is added to S, it has the correct distance label. -
The $ K $-Strong Induced Arboricity of a Graph
The k-strong induced arboricity of a graph Maria Axenovich, Daniel Gon¸calves, Jonathan Rollin, Torsten Ueckerdt June 1, 2017 Abstract The induced arboricity of a graph G is the smallest number of induced forests covering the edges of G. This is a well-defined parameter bounded from above by the number of edges of G when each forest in a cover consists of exactly one edge. Not all edges of a graph necessarily belong to induced forests with larger components. For k > 1, we call an edge k-valid if it is contained in an induced tree on k edges. The k-strong induced arboricity of G, denoted by fk(G), is the smallest number of induced forests with components of sizes at least k that cover all k-valid edges in G. This parameter is highly non-monotone. However, we prove that for any proper minor-closed graph class C, and more gener- ally for any class of bounded expansion, and any k > 1, the maximum value of fk(G) for G 2 C is bounded from above by a constant depending only on C and k. This implies that the adjacent closed vertex-distinguishing number of graphs from a class of bounded expansion is bounded by a constant depending only on the class. We further t+1 d prove that f2(G) 6 3 3 for any graph G of tree-width t and that fk(G) 6 (2k) for any graph of tree-depth d. In addition, we prove that f2(G) 6 310 when G is planar. -
Minimum Spanning Trees Announcements
Lecture 15 Minimum Spanning Trees Announcements • HW5 due Friday • HW6 released Friday Last time • Greedy algorithms • Make a series of choices. • Choose this activity, then that one, .. • Never backtrack. • Show that, at each step, your choice does not rule out success. • At every step, there exists an optimal solution consistent with the choices we’ve made so far. • At the end of the day: • you’ve built only one solution, • never having ruled out success, • so your solution must be correct. Today • Greedy algorithms for Minimum Spanning Tree. • Agenda: 1. What is a Minimum Spanning Tree? 2. Short break to introduce some graph theory tools 3. Prim’s algorithm 4. Kruskal’s algorithm Minimum Spanning Tree Say we have an undirected weighted graph 8 7 B C D 4 9 2 11 4 A I 14 E 7 6 8 10 1 2 A tree is a H G F connected graph with no cycles! A spanning tree is a tree that connects all of the vertices. Minimum Spanning Tree Say we have an undirected weighted graph The cost of a This is a spanning tree is 8 7 spanning tree. the sum of the B C D weights on the edges. 4 9 2 11 4 A I 14 E 7 6 8 10 A tree is a This tree 1 2 H G F connected graph has cost 67 with no cycles! A spanning tree is a tree that connects all of the vertices. Minimum Spanning Tree Say we have an undirected weighted graph This is also a 8 7 spanning tree. -
Sparse Exchangeable Graphs and Their Limits Via Graphon Processes
Journal of Machine Learning Research 18 (2018) 1{71 Submitted 8/16; Revised 6/17; Published 5/18 Sparse Exchangeable Graphs and Their Limits via Graphon Processes Christian Borgs [email protected] Microsoft Research One Memorial Drive Cambridge, MA 02142, USA Jennifer T. Chayes [email protected] Microsoft Research One Memorial Drive Cambridge, MA 02142, USA Henry Cohn [email protected] Microsoft Research One Memorial Drive Cambridge, MA 02142, USA Nina Holden [email protected] Department of Mathematics Massachusetts Institute of Technology Cambridge, MA 02139, USA Editor: Edoardo M. Airoldi Abstract In a recent paper, Caron and Fox suggest a probabilistic model for sparse graphs which are exchangeable when associating each vertex with a time parameter in R+. Here we show that by generalizing the classical definition of graphons as functions over probability spaces to functions over σ-finite measure spaces, we can model a large family of exchangeable graphs, including the Caron-Fox graphs and the traditional exchangeable dense graphs as special cases. Explicitly, modelling the underlying space of features by a σ-finite measure space (S; S; µ) and the connection probabilities by an integrable function W : S × S ! [0; 1], we construct a random family (Gt)t≥0 of growing graphs such that the vertices of Gt are given by a Poisson point process on S with intensity tµ, with two points x; y of the point process connected with probability W (x; y). We call such a random family a graphon process. We prove that a graphon process has convergent subgraph frequencies (with possibly infinite limits) and that, in the natural extension of the cut metric to our setting, the sequence converges to the generating graphon. -
Minimum Perfect Bipartite Matchings and Spanning Trees Under Categorization
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Discrete Applied Mathematics 39 (1992) 147- 153 147 North-Holland Minimum perfect bipartite matchings and spanning trees under categorization Michael B. Richey Operations Research & Applied Statistics Department, George Mason University, Fairfax, VA 22030, USA Abraham P. Punnen Mathematics Department, Indian Institute of Technology. Kanpur-208 016, India Received 2 February 1989 Revised 1 May 1990 Abstract Richey, M.B. and A.P. Punnen, Minimum perfect bipartite mats-Yngs and spanning trees under catego- rization, Discrete Applied Mathematics 39 (1992) 147-153. Network optimization problems under categorization arise when the edge set is partitioned into several sets and the objective function is optimized over each set in one sense, then among the sets in some other sense. Here we find that unlike some other problems under categorization, the minimum perfect bipar- tite matching and minimum spanning tree problems (under categorization) are NP-complete, even on bipartite outerplanar graphs. However for one objective function both problems can be solved in polynomial time on arbitrary graphs if the number of sets is fixed. 1. Introduction In operations research and in graph-theoretic optimization, two types of objective functions have dominated the attention of researchers, namely optimization of the weighted sum of the variables and optimization of the most extreme value of the variables. Recently the following type of (minimization) objective function has appeared in the literature [1,6,7,14]: divide the variables into categories, find the Correspondence to: Professor M.B. Richey, Operations Research & Applied Statistics Department, George Mason University, Fairfax, VA 22030, USA.