ALTERNATING PATHS AND CYCLES OF MINIMUM LENGTH. William Evans. Giuseppe Liotta. Henk Meijer. Stephen Wismath

Size: px
Start display at page:

Download "ALTERNATING PATHS AND CYCLES OF MINIMUM LENGTH. William Evans. Giuseppe Liotta. Henk Meijer. Stephen Wismath"

Transcription

1 ALTERNATING PATHS AND CYCLES OF MINIMUM LENGTH William Evans University of British Columbia, Canada Giuseppe Liotta Universitá degli Studi di Perugia, Italy Henk Meijer U. C. Roosevelt, the Netherlands Stephen Wismath University of Lethbridge, Canada

2 Motivating problem Draw planar graph on given point set to minimize total edge length [Chan et al. GD13] vertex maps to point of the same color each vertex has distinct color

3 Motivating problem Draw planar graph on given point set to minimize total edge length [Chan et al. GD13] vertex maps to point of the same color each vertex has distinct color This is NP-hard [Bastert and Fekete 96]

4 Our problem Draw planar graph on given point set to minimize total edge length vertex maps to point of the same color each vertex has distinct color

5 Our problem alternating path/cycle Draw planar graph on given point set to minimize total edge length vertex maps to point of the same color each vertex has distinct color

6 Our problem is NP-hard Draw planar alternating path/cycle on given point set to minimize total edge length Idea: Reduce from EXACT COVER Use (modified) reduction to Euclidean TSP [Papadimitriou 77]

7 Our problem Draw planar alternating path/cycle on given colinear point set to minimize total edge length

8 Cycles: A lower bound

9 Cycles: A lower bound Minimum number of edges crossing this gap? (for any alternating cycle)

10 Cycles: A lower bound 2 Minimum number of edges crossing this gap? (for any alternating cycle)

11 Cycles: A lower bound 2 Minimum number of edges crossing this gap? (for any alternating cycle)

12 Cycles: A lower bound 2 2 Minimum number of edges crossing this gap? (for any alternating cycle)

13 Cycles: A lower bound 2 2 Minimum number of edges crossing this gap? (for any alternating cycle)

14 Cycles: A lower bound Minimum number of edges crossing this gap? (for any alternating cycle)

15 Cycles: A lower bound Minimum number of edges crossing this gap? (for any alternating cycle)

16 Cycles: A lower bound Minimum number of edges crossing this gap? (for any alternating cycle)

17 Cycles: A lower bound Lemma 1. Minimum number of edges crossing gap i is c i = 2 max{ r i b i, 1} r i = red, b i = blue points before gap i

18 Cycles: A lower bound Lemma 1. Minimum number of edges crossing gap i is c i = 2 max{ r i b i, 1} r i = red, b i = blue points before gap i Proof: Each cycle component to the left of gap i has the same number of red and blue points ±1.

19 Cycles: A lower bound Lemma 1. Minimum number of edges crossing gap i is c i = 2 max{ r i b i, 1} r i = red, b i = blue points before gap i Cycle length i c i gap i

20 Cycles: Matching the lower bound with 2 bends Drawing Rules Invariants At gap i : 1. Number of red components = max{r i b i, 0}. 2. Number of blue components = max{b i r i, 0}. 3. If r i = b i, one red/blue component spans spine. 4. Two closest components to spine are not both above or below.

21 Cycles: Matching the lower bound with 2 bends Drawing Rules

22 Cycles: Matching the lower bound with 2 bends Drawing Rules

23 Cycles: Matching the lower bound with 2 bends Drawing Rules

24 Cycles: Matching the lower bound with 2 bends Drawing Rules

25 Cycles: Matching the lower bound with 2 bends Drawing Rules

26 Cycles: Matching the lower bound with 2 bends Drawing Rules

27 Cycles: Matching the lower bound with 2 bends Drawing Rules

28 Cycles: Matching the lower bound with 2 bends Drawing Rules

29 Cycles: Matching the lower bound with 2 bends Drawing Rules

30 Cycles: Matching the lower bound with 2 bends Drawing Rules

31 Cycles: Matching the lower bound with 2 bends Drawing Rules

32 Cycles: Matching the lower bound with 2 bends Drawing Rules

33 Cycles: Matching the lower bound with 2 bends Drawing Rules

34 Cycles: Matching the lower bound with 2 bends Drawing Rules

35 Cycles: Matching the lower bound with 2 bends Drawing Rules

36 Cycles: Matching the lower bound with 2 bends Drawing Rules

37 Cycles: Matching the lower bound with 2 bends Drawing Rules

38 Cycles: Matching the lower bound with 2 bends Drawing Rules

39 Cycles: Matching the lower bound with 2 bends Drawing Rules

40 Cycles: Matching the lower bound with 2 bends Drawing Rules

41 Cycles: Matching the lower bound with 2 bends Drawing Rules

42 Cycles: Matching the lower bound with 2 bends Drawing Rules

43 Cycles: Matching the lower bound with 2 bends Drawing Rules

44 Cycles: Matching the lower bound with 2 bends Drawing Rules

45 Cycles: Matching the lower bound with 2 bends Drawing Rules

46 Cycles: Matching the lower bound with 2 bends Drawing Rules

47 Cycles: Matching the lower bound with 2 bends Drawing Rules

48 Cycles: Matching the lower bound with 2 bends Drawing Rules Theorem 1. Exists O(n log n)-time algorithm to compute a shortest planar alternating cycle on colinear points. Each edge has 2 bends.

49 Paths: A lower bound Given path endpoints r and b Lemma 2. Minimum number of edges crossing gap i is 2 max{ r i b i, 1} if r, b same side c i = r 1+2 max{b i r i, r i b i 1} if r left of gap i 1+2 max{r i b i, b i r i 1} if b left of gap i b

50 Paths: A lower bound Given path endpoints r and b Lemma 2. Minimum number of edges crossing gap i is 2 max{ r i b i, 1} if r, b same side c i = r 1+2 max{b i r i, r i b i 1} if r left of gap i 1+2 max{r i b i, b i r i 1} if b left of gap i Proof: Same. Component with red endpoint can have one more red than blue points, but zero more blue than red points. b

51 Paths: A lower bound Given path endpoints r and b Lemma 2. Minimum number of edges crossing gap i is 2 max{ r i b i, 1} if r, b same side c i = r 1+2 max{b i r i, r i b i 1} if r left of gap i 1+2 max{r i b i, b i r i 1} if b left of gap i b r to b Path length i c i gap i

52 Paths: Matching the lower bound with 2 bends Given path endpoints r and b. Use (almost) the same algorithm as for cycles to find a path whose length matches the lower bound.

53 Paths: Matching the lower bound with 2 bends Given path endpoints r and b. Calculate the r to b Path length lower bound for all r and b and pick the minimum. O(n 2 ) time Use (almost) the same algorithm as for cycles to find a path whose length matches the lower bound.

54 Paths: Matching the lower bound with 2 bends Given path endpoints r and b. Calculate the r to b Path length lower bound for all r and b and pick the minimum. O(n 2 ) time Use (almost) the same algorithm as for cycles to find a path whose length matches the lower bound. Theorem 2. Exists O(n 2 )-time algorithm to compute a shortest planar alternating path on colinear points. Each edge has 2 bends.

55 Extending to more than two colors Lemma 3. Minimum number of edges crossing gap i is c i = 2 max{ r i g i, g i b i, b i r i, 1} r i = red, g i = green, b i = blue points before gap i Similar algorithm achieves lower bound. (O(n) bends)

56 Extending to more than two colors Lemma 3. Minimum number of edges crossing gap i is c i = 2 max{ r i g i, g i b i, b i r i, 1} r i = red, g i = green, b i = blue points before gap i Similar algorithm achieves lower bound. (O(n) bends) Four colors Lower bound cannot be achieved.

57 Open Problems Shortest alternating path in o(n 2 ) time. Shortest 3-color path/cycle with o(n) bends. Shortest 4-color path/cycle. Shortest arbitrary (not alternating) 2-color path/cycle.

58 Open Problems Shortest alternating path in o(n 2 ) time. Shortest 3-color path/cycle with o(n) bends. Shortest 4-color path/cycle. Shortest arbitrary (not alternating) 2-color path/cycle. Thank you

Alternating Paths and Cycles of Minimum Length

Alternating Paths and Cycles of Minimum Length Alternating Paths and Cycles of Minimum Length Will Evans 1, Giuseppe Liotta 2, Henk Meijer 3, and Stephen Wismath 4 1 University of British Columbia, Canada 2 Universitá degli Studi di Perugia, Italy

More information

On Graphs Supported by Line Sets

On Graphs Supported by Line Sets On Graphs Supported by Line Sets Vida Dujmović, William Evans, Stephen Kobourov, Giuseppe Liotta, Christophe Weibel, and Stephen Wismath School of Computer Science Carleton University cgm.cs.mcgill.ca/

More information

Giuseppe Liotta (University of Perugia)

Giuseppe Liotta (University of Perugia) Drawing Graphs with Crossing Edges Giuseppe Liotta (University of Perugia) Outline Motivation and research agenda - Graph Drawing and the planarization handicap - Mutzel s intuition and Huang s experiment

More information

Greedy algorithms Or Do the right thing

Greedy algorithms Or Do the right thing Greedy algorithms Or Do the right thing March 1, 2005 1 Greedy Algorithm Basic idea: When solving a problem do locally the right thing. Problem: Usually does not work. VertexCover (Optimization Version)

More information

Testing Maximal 1-planarity of Graphs with a Rotation System in Linear Time

Testing Maximal 1-planarity of Graphs with a Rotation System in Linear Time Testing Maximal 1-planarity of Graphs with a Rotation System in Linear Time Peter Eades 1, Seok-Hee Hong 1, Naoki Katoh 2, Giuseppe Liotta 3, Pascal Schweitzer 4, and Yusuke Suzuki 5 1 University of Sydney,

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 408 (2008) 129 142 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Drawing colored graphs on colored points

More information

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves (Extended Abstract) Emilio Di Giacomo and Walter Didimo Università di Perugia ({digiacomo,didimo}@diei.unipg.it). Abstract. We study how to

More information

val(y, I) α (9.0.2) α (9.0.3)

val(y, I) α (9.0.2) α (9.0.3) CS787: Advanced Algorithms Lecture 9: Approximation Algorithms In this lecture we will discuss some NP-complete optimization problems and give algorithms for solving them that produce a nearly optimal,

More information

Scheduling, Map Coloring, and Graph Coloring

Scheduling, Map Coloring, and Graph Coloring Scheduling, Map Coloring, and Graph Coloring Scheduling via Graph Coloring: Final Exam Example Suppose want to schedule some ;inal exams for CS courses with following course numbers: 1007, 3137, 3157,

More information

Bar k-visibility Graphs

Bar k-visibility Graphs Bar k-visibility Graphs Alice M. Dean Department of Mathematics Skidmore College adean@skidmore.edu William Evans Department of Computer Science University of British Columbia will@cs.ubc.ca Ellen Gethner

More information

Direct Routing: Algorithms and Complexity

Direct Routing: Algorithms and Complexity Direct Routing: Algorithms and Complexity Costas Busch, RPI Malik Magdon-Ismail, RPI Marios Mavronicolas, Univ. Cyprus Paul Spirakis, Univ. Patras 1 Outline 1. Direct Routing. 2. Direct Routing is Hard.

More information

On the Planar Split Thickness of Graphs

On the Planar Split Thickness of Graphs On the Planar Split Thickness of Graphs David Eppstein 1, Philipp Kindermann, Stephen Kobourov 3, Giuseppe Liotta 4, Anna Lubiw 5, Aude Maignan 6, Debajyoti Mondal 7, Hamideh Vosoughpour 5, Sue Whitesides

More information

Bottleneck Steiner Tree with Bounded Number of Steiner Vertices

Bottleneck Steiner Tree with Bounded Number of Steiner Vertices Bottleneck Steiner Tree with Bounded Number of Steiner Vertices A. Karim Abu-Affash Paz Carmi Matthew J. Katz June 18, 2011 Abstract Given a complete graph G = (V, E), where each vertex is labeled either

More information

Colorability in Orthogonal Graph Drawing

Colorability in Orthogonal Graph Drawing Colorability in Orthogonal Graph Drawing Jan Štola Department of Applied Mathematics, Charles University Malostranské nám. 25, Prague, Czech Republic Jan.Stola@mff.cuni.cz Abstract. This paper studies

More information

Bar k-visibility Graphs: Bounds on the Number of Edges, Chromatic Number, and Thickness

Bar k-visibility Graphs: Bounds on the Number of Edges, Chromatic Number, and Thickness Bar k-visibility Graphs: Bounds on the Number of Edges, Chromatic Number, and Thickness Alice M. Dean, William Evans, Ellen Gethner 3,JoshuaD.Laison, Mohammad Ali Safari 5, and William T. Trotter 6 Department

More information

Multi-Objective Combinatorial Optimization: The Traveling Salesman Problem and Variants

Multi-Objective Combinatorial Optimization: The Traveling Salesman Problem and Variants Multi-Objective Combinatorial Optimization: The Traveling Salesman Problem and Variants C. Glaßer 1 C. Reitwießner 1 H. Schmitz 2 M. Witek 1 1 University of Würzburg, Germany 2 Trier University of Applied

More information

Lecture 1: TSP on graphs of bounded branch width

Lecture 1: TSP on graphs of bounded branch width CS523: Advanced Algorithms Spring 2014 Lecture 1: TSP on graphs of bounded branch width Lecturer: Glencora Borradaile Scribes: Hung Le 1.1 Branch Decomposition Let G = (V (G), E(G)) be an undirected graph.

More information

Given a graph, find an embedding s.t. greedy routing works

Given a graph, find an embedding s.t. greedy routing works Given a graph, find an embedding s.t. greedy routing works Greedy embedding of a graph 99 Greedy embedding Given a graph G, find an embedding of the vertices in R d, s.t. for each pair of nodes s, t, there

More information

Geometric Unique Set Cover on Unit Disks and Unit Squares

Geometric Unique Set Cover on Unit Disks and Unit Squares CCCG 2016, Vancouver, British Columbia, August 3 5, 2016 Geometric Unique Set Cover on Unit Disks and Unit Squares Saeed Mehrabi Abstract We study the Unique Set Cover problem on unit disks and unit squares.

More information

arxiv: v2 [math.co] 21 Jun 2018

arxiv: v2 [math.co] 21 Jun 2018 Edge Partitions of Optimal 2-plane and 3-plane Graphs Michael Bekos 1, Emilio Di Giacomo 2, Walter Didimo 2, Giuseppe Liotta 2, Fabrizio Montecchiani 2, Chrysanthi Raftopoulou 3 1 Institut für Informatik,

More information

V1.0: Seth Gilbert, V1.1: Steven Halim August 30, Abstract. d(e), and we assume that the distance function is non-negative (i.e., d(x, y) 0).

V1.0: Seth Gilbert, V1.1: Steven Halim August 30, Abstract. d(e), and we assume that the distance function is non-negative (i.e., d(x, y) 0). CS4234: Optimisation Algorithms Lecture 4 TRAVELLING-SALESMAN-PROBLEM (4 variants) V1.0: Seth Gilbert, V1.1: Steven Halim August 30, 2016 Abstract The goal of the TRAVELLING-SALESMAN-PROBLEM is to find

More information

1 Minimum Spanning Trees (MST) b 2 3 a. 10 e h. j m

1 Minimum Spanning Trees (MST) b 2 3 a. 10 e h. j m Minimum Spanning Trees (MST) 8 0 e 7 b 3 a 5 d 9 h i g c 8 7 6 3 f j 9 6 k l 5 m A graph H(U,F) is a subgraph of G(V,E) if U V and F E. A subgraph H(U,F) is called spanning if U = V. Let G be a graph with

More information

Three-Dimensional 1-Bend Graph Drawings

Three-Dimensional 1-Bend Graph Drawings Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 8, no. 3, pp. 357 366 (2004) Three-Dimensional 1-Bend Graph Drawings Pat Morin School of Computer Science Carleton University Ottawa,

More information

Visualisierung von Graphen

Visualisierung von Graphen Visualisierung von Graphen Smooth Orthogonal Drawings of Planar Graphs. Vorlesung Sommersemester 205 Orthogonal Layouts all edge segments are horizontal or vertical a well-studied drawing convention many

More information

Approximation Algorithms

Approximation Algorithms Chapter 8 Approximation Algorithms Algorithm Theory WS 2016/17 Fabian Kuhn Approximation Algorithms Optimization appears everywhere in computer science We have seen many examples, e.g.: scheduling jobs

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

Institute of Operating Systems and Computer Networks Algorithms Group. Network Algorithms. Tutorial 4: Matching and other stuff

Institute of Operating Systems and Computer Networks Algorithms Group. Network Algorithms. Tutorial 4: Matching and other stuff Institute of Operating Systems and Computer Networks Algorithms Group Network Algorithms Tutorial 4: Matching and other stuff Christian Rieck Matching 2 Matching A matching M in a graph is a set of pairwise

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu P, NP-Problems Class

More information

Bar k-visibility Graphs

Bar k-visibility Graphs Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 11, no. 1, pp. 45 59 (2007) Bar k-visibility Graphs Alice M. Dean Department of Mathematics and Computer Science, Skidmore College http://www.skidmore.edu/

More information

Straight-Line Drawings on Restricted Integer Grids in Two and Three Dimensions

Straight-Line Drawings on Restricted Integer Grids in Two and Three Dimensions Straight-Line Drawings on Restricted Integer Grids in Two and Three Dimensions (Extended Abstract) Stefan Felsner 1, Giuseppe Liotta 2, and Stephen Wismath 3 1 Freie Universität Berlin, Fachbereich Mathematik

More information

1 Variations of the Traveling Salesman Problem

1 Variations of the Traveling Salesman Problem Stanford University CS26: Optimization Handout 3 Luca Trevisan January, 20 Lecture 3 In which we prove the equivalence of three versions of the Traveling Salesman Problem, we provide a 2-approximate algorithm,

More information

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch] NP Completeness Andreas Klappenecker [partially based on slides by Jennifer Welch] Dealing with NP-Complete Problems Dealing with NP-Completeness Suppose the problem you need to solve is NP-complete. What

More information

Vertex Cover is Fixed-Parameter Tractable

Vertex Cover is Fixed-Parameter Tractable Vertex Cover is Fixed-Parameter Tractable CS 511 Iowa State University November 28, 2010 CS 511 (Iowa State University) Vertex Cover is Fixed-Parameter Tractable November 28, 2010 1 / 18 The Vertex Cover

More information

1 The Traveling Salesperson Problem (TSP)

1 The Traveling Salesperson Problem (TSP) CS 598CSC: Approximation Algorithms Lecture date: January 23, 2009 Instructor: Chandra Chekuri Scribe: Sungjin Im In the previous lecture, we had a quick overview of several basic aspects of approximation

More information

2-Layer Right Angle Crossing Drawings

2-Layer Right Angle Crossing Drawings DOI 10.1007/s00453-012-9706-7 2-Layer Right Angle Crossing Drawings Emilio Di Giacomo Walter Didimo Peter Eades Giuseppe Liotta Received: 26 July 2011 / Accepted: 24 October 2012 Springer Science+Business

More information

Approximate Nearest Neighbor Problem: Improving Query Time CS468, 10/9/2006

Approximate Nearest Neighbor Problem: Improving Query Time CS468, 10/9/2006 Approximate Nearest Neighbor Problem: Improving Query Time CS468, 10/9/2006 Outline Reducing the constant from O ( ɛ d) to O ( ɛ (d 1)/2) in uery time Need to know ɛ ahead of time Preprocessing time and

More information

Lecture 4: Trees and Art Galleries

Lecture 4: Trees and Art Galleries Math 7H: Honors Seminar Professor: Padraic Bartlett Lecture 4: Trees and Art Galleries Week 2 UCSB 2014 1 Prelude: Graph Theory In this talk, we re going to refer frequently to things called graphs and

More information

2-Layer Fan-planarity: From Caterpillar to Stegosaurus

2-Layer Fan-planarity: From Caterpillar to Stegosaurus 2-Layer Fan-planarity: From Caterpillar to Stegosaurus Carla Binucci 1, Markus Chimani 2, Walter Didimo 1, Martin Gronemann 3, Karsten Klein 4, Jan Kratochvil 5, Fabrizio Montecchiani 1, Ioannis G. Tollis

More information

Computing NodeTrix Representations of Clustered Graphs

Computing NodeTrix Representations of Clustered Graphs Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 22, no. 2, pp. 139 176 (2018) DOI: 10.7155/jgaa.00461 Computing NodeTrix Representations of Clustered Graphs Giordano Da Lozzo Giuseppe

More information

ABSTRACT Finding a cut or nding a matching in a graph are so simple problems that hardly are considered problems at all. Finding a cut whose split edg

ABSTRACT Finding a cut or nding a matching in a graph are so simple problems that hardly are considered problems at all. Finding a cut whose split edg R O M A TRE DIA Universita degli Studi di Roma Tre Dipartimento di Informatica e Automazione Via della Vasca Navale, 79 { 00146 Roma, Italy The Complexity of the Matching-Cut Problem Maurizio Patrignani

More information

Euler s formula n e + f = 2 and Platonic solids

Euler s formula n e + f = 2 and Platonic solids Euler s formula n e + f = and Platonic solids Euler s formula n e + f = and Platonic solids spherical projection makes these planar graphs Euler s formula n e + f = and Platonic solids spherical projection

More information

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms Module 6 P, NP, NP-Complete Problems and Approximation Algorithms Dr. Natarajan Meghanathan Associate Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu

More information

The complexity of Domino Tiling

The complexity of Domino Tiling The complexity of Domino Tiling Therese Biedl Abstract In this paper, we study the problem of how to tile a layout with dominoes. For non-coloured dominoes, this can be determined easily by testing whether

More information

Graphs & Algorithms: Advanced Topics Planar Separators

Graphs & Algorithms: Advanced Topics Planar Separators Graphs & Algorithms: Advanced Topics Planar Separators Johannes Lengler, Uli Wagner ETH Zürich Separators Definition Let G = (V, E) be a graph on n vertices, f : N 0 R a function, α (0, 1) a parameter.

More information

CPSC 536N: Randomized Algorithms Term 2. Lecture 10

CPSC 536N: Randomized Algorithms Term 2. Lecture 10 CPSC 536N: Randomized Algorithms 011-1 Term Prof. Nick Harvey Lecture 10 University of British Columbia In the first lecture we discussed the Max Cut problem, which is NP-complete, and we presented a very

More information

Professor: Padraic Bartlett. Lecture 9: Trees and Art Galleries. Week 10 UCSB 2015

Professor: Padraic Bartlett. Lecture 9: Trees and Art Galleries. Week 10 UCSB 2015 Math 7H Professor: Padraic Bartlett Lecture 9: Trees and Art Galleries Week 10 UCSB 2015 1 Prelude: Graph Theory This talk uses the mathematical concepts of graphs from our previous class. In particular,

More information

Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected

Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected graph G with at least 2 vertices contains at least 2

More information

Drawing Outer 1-planar Graphs with Few Slopes

Drawing Outer 1-planar Graphs with Few Slopes Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 19, no. 2, pp. 707 741 (2015) DOI: 10.7155/jgaa.00376 Drawing Outer 1-planar Graphs with Few Slopes Emilio Di Giacomo Giuseppe Liotta

More information

Queue Layouts, Tree-Width, and Three-Dimensional Graph Drawing

Queue Layouts, Tree-Width, and Three-Dimensional Graph Drawing Queue Layouts, Tree-Width, and Three-Dimensional Graph Drawing David R. Wood School of Computer Science Carleton University Ottawa, Canada Ú Û º ÖÐ ØÓÒº Abstract. A three-dimensional (straight-line grid)

More information

Euler and Hamilton paths. Jorge A. Cobb The University of Texas at Dallas

Euler and Hamilton paths. Jorge A. Cobb The University of Texas at Dallas Euler and Hamilton paths Jorge A. Cobb The University of Texas at Dallas 1 Paths and the adjacency matrix The powers of the adjacency matrix A r (with normal, not boolean multiplication) contain the number

More information

Testing Bipartiteness of Geometric Intersection Graphs David Eppstein

Testing Bipartiteness of Geometric Intersection Graphs David Eppstein Testing Bipartiteness of Geometric Intersection Graphs David Eppstein Univ. of California, Irvine School of Information and Computer Science Intersection Graphs Given arrangement of geometric objects,

More information

Coping with NP-Completeness

Coping with NP-Completeness Coping with NP-Completeness Siddhartha Sen Questions: sssix@cs.princeton.edu Some figures obtained from Introduction to Algorithms, nd ed., by CLRS Coping with intractability Many NPC problems are important

More information

ON THE NUMBER OF DIRECTIONS IN VISIBILITY REPRESENTATIONS OF. University of Ottawa, Department of Computer Science, Ottawa, ON, Canada

ON THE NUMBER OF DIRECTIONS IN VISIBILITY REPRESENTATIONS OF. University of Ottawa, Department of Computer Science, Ottawa, ON, Canada ON THE NUMBER OF DIRECTIONS IN VISIBILITY REPRESENTATIONS OF GRAPHS? (Extended Abstract) Evangelos Kranakis 1 (kranakis@scs.carleton.ca) Danny Krizanc 1 (krizanc@scs.carleton.ca) Jorge Urrutia 2 (jorge@csi.uottawa.ca)

More information

Planar Drawing of Bipartite Graph by Eliminating Minimum Number of Edges

Planar Drawing of Bipartite Graph by Eliminating Minimum Number of Edges UITS Journal Volume: Issue: 2 ISSN: 2226-32 ISSN: 2226-328 Planar Drawing of Bipartite Graph by Eliminating Minimum Number of Edges Muhammad Golam Kibria Muhammad Oarisul Hasan Rifat 2 Md. Shakil Ahamed

More information

Minimum-Spanning-Tree problem. Minimum Spanning Trees (Forests) Minimum-Spanning-Tree problem

Minimum-Spanning-Tree problem. Minimum Spanning Trees (Forests) Minimum-Spanning-Tree problem Minimum Spanning Trees (Forests) Given an undirected graph G=(V,E) with each edge e having a weight w(e) : Find a subgraph T of G of minimum total weight s.t. every pair of vertices connected in G are

More information

Three-Dimensional 1-Bend Graph Drawings

Three-Dimensional 1-Bend Graph Drawings Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 0, no. 0, pp. 0 0 (2005) Three-Dimensional 1-Bend Graph Drawings Pat Morin School of Computer Science Carleton University Ottawa, Canada

More information

Wolfgang Mulzer Institut für Informatik. Planar Delaunay Triangulations and Proximity Structures

Wolfgang Mulzer Institut für Informatik. Planar Delaunay Triangulations and Proximity Structures Wolfgang Mulzer Institut für Informatik Planar Delaunay Triangulations and Proximity Structures Proximity Structures Given: a set P of n points in the plane proximity structure: a structure that encodes

More information

Lecture 1. 2 Motivation: Fast. Reliable. Cheap. Choose two.

Lecture 1. 2 Motivation: Fast. Reliable. Cheap. Choose two. Approximation Algorithms and Hardness of Approximation February 19, 2013 Lecture 1 Lecturer: Ola Svensson Scribes: Alantha Newman 1 Class Information 4 credits Lecturers: Ola Svensson (ola.svensson@epfl.ch)

More information

Universal Point Subsets for Planar Graphs

Universal Point Subsets for Planar Graphs Universal Point Subsets for Planar Graphs Patrizio Angelini 1, Carla Binucci 2, William Evans 3, Ferran Hurtado 4, Giuseppe Liotta 2, Tamara Mchedlidze 5, Henk Meijer 6, and Yoshio Okamoto 7 1 Roma Tre

More information

Reductions. Linear Time Reductions. Desiderata. Reduction. Desiderata. Classify problems according to their computational requirements.

Reductions. Linear Time Reductions. Desiderata. Reduction. Desiderata. Classify problems according to their computational requirements. Desiderata Reductions Desiderata. Classify problems according to their computational requirements. Frustrating news. Huge number of fundamental problems have defied classification for decades. Desiderata'.

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Frédéric Giroire FG Simplex 1/11 Motivation Goal: Find good solutions for difficult problems (NP-hard). Be able to quantify the goodness of the given solution. Presentation of

More information

Thickness of Bar 1-Visibility Graphs

Thickness of Bar 1-Visibility Graphs Thickness of Bar 1-Visibility Graphs Stefan Felsner and Mareike Massow Technische Universität Berlin, Fachbereich Mathematik Straße des 17. Juni 136, 10623 Berlin, Germany {felsner,massow}@math.tu-berlin.de

More information

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W.

Unit 8: Coping with NP-Completeness. Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems. Y.-W. : Coping with NP-Completeness Course contents: Complexity classes Reducibility and NP-completeness proofs Coping with NP-complete problems Reading: Chapter 34 Chapter 35.1, 35.2 Y.-W. Chang 1 Complexity

More information

The k-center problem Approximation Algorithms 2009 Petros Potikas

The k-center problem Approximation Algorithms 2009 Petros Potikas Approximation Algorithms 2009 Petros Potikas 1 Definition: Let G=(V,E) be a complete undirected graph with edge costs satisfying the triangle inequality and k be an integer, 0 < k V. For any S V and vertex

More information

CS 6783 (Applied Algorithms) Lecture 5

CS 6783 (Applied Algorithms) Lecture 5 CS 6783 (Applied Algorithms) Lecture 5 Antonina Kolokolova January 19, 2012 1 Minimum Spanning Trees An undirected graph G is a pair (V, E); V is a set (of vertices or nodes); E is a set of (undirected)

More information

Partitions of Graphs into Trees

Partitions of Graphs into Trees Partitions of Graphs into Trees Therese Biedl and Franz J. Brandenburg School of Computer Science, University of Waterloo, NL3G, Canada biedl@uwaterloo.ca Lehrstuhl für Informatik, Universität Passau,

More information

Upward Planar Drawings and Switch-regularity Heuristics

Upward Planar Drawings and Switch-regularity Heuristics Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 1, no. 2, pp. 259 285 (26) Upward Planar Drawings and Switch-regularity Heuristics Walter Didimo Dipartimento di Ingegneria Elettronica

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 29 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/7/2016 Approximation

More information

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are

More information

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi

CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I Instructor: Shaddin Dughmi Announcements Posted solutions to HW1 Today: Combinatorial problems

More information

An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem

An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem Ahmad Biniaz Anil Maheshwari Michiel Smid September 30, 2013 Abstract Let P and S be two disjoint sets of n and m points in the

More information

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques. Graph theory Po-Shen Loh June 013 1 Basic results We begin by collecting some basic facts which can be proved via bare-hands techniques. 1. The sum of all of the degrees is equal to twice the number of

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 397 E-mail: natarajan.meghanathan@jsums.edu Optimization vs. Decision

More information

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R

More information

Lecture outline. Graph coloring Examples Applications Algorithms

Lecture outline. Graph coloring Examples Applications Algorithms Lecture outline Graph coloring Examples Applications Algorithms Graph coloring Adjacent nodes must have different colors. How many colors do we need? Graph coloring Neighbors must have different colors

More information

UNIVERSITÀ DEGLI STUDI DI ROMA TRE Dipartimento di Informatica e Automazione. Constrained Simultaneous and Near-Simultaneous Embeddings

UNIVERSITÀ DEGLI STUDI DI ROMA TRE Dipartimento di Informatica e Automazione. Constrained Simultaneous and Near-Simultaneous Embeddings R O M A TRE DIA UNIVERSITÀ DEGLI STUDI DI ROMA TRE Dipartimento di Informatica e Automazione Via della Vasca Navale, 79 00146 Roma, Italy Constrained Simultaneous and Near-Simultaneous Embeddings FABRIZIO

More information

EPG-representations with small grid-size

EPG-representations with small grid-size EPG-representations with small grid-size Martin Derka mderka@uwaterloo.ca David R. Cheriton School of Computer Science University of Waterloo GD 2017 September 26, 2017 Joint work with T. Biedl, V. Dujmovic,

More information

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University Graphs: Introduction Ali Shokoufandeh, Department of Computer Science, Drexel University Overview of this talk Introduction: Notations and Definitions Graphs and Modeling Algorithmic Graph Theory and Combinatorial

More information

Planarity: dual graphs

Planarity: dual graphs : dual graphs Math 104, Graph Theory March 28, 2013 : dual graphs Duality Definition Given a plane graph G, the dual graph G is the plane graph whose vtcs are the faces of G. The correspondence between

More information

CSE331 Introduction to Algorithms Lecture 15 Minimum Spanning Trees

CSE331 Introduction to Algorithms Lecture 15 Minimum Spanning Trees CSE1 Introduction to Algorithms Lecture 1 Minimum Spanning Trees Antoine Vigneron antoine@unist.ac.kr Ulsan National Institute of Science and Technology July 11, 201 Antoine Vigneron (UNIST) CSE1 Lecture

More information

New Approximation Results for the Maximum Scatter TSP 1. Yi-Jen Chiang 2

New Approximation Results for the Maximum Scatter TSP 1. Yi-Jen Chiang 2 Algorithmica (2004) OF1 OF33 DOI: 10.1007/s00453-004-1124-z Algorithmica 2004 Springer Science+Business Media, Inc. New Approximation Results for the Maximum Scatter TSP 1 Yi-Jen Chiang 2 Abstract. We

More information

Restricted Delivery Problems on a Network. December 17, Abstract

Restricted Delivery Problems on a Network. December 17, Abstract Restricted Delivery Problems on a Network Esther M. Arkin y, Refael Hassin z and Limor Klein x December 17, 1996 Abstract We consider a delivery problem on a network one is given a network in which nodes

More information

Simultaneous Graph Embedding with Bends and Circular Arcs

Simultaneous Graph Embedding with Bends and Circular Arcs Simultaneous Graph Embedding with Bends and Circular Arcs Justin Cappos, Alejandro Estrella-Balderrama, J. Joseph Fowler, and Stephen G. Kobourov Department of Computer Science, University of Arizona {justin,aestrell,jfowler,kobourov}@cs.arizona.edu

More information

Approximability Results for the p-center Problem

Approximability Results for the p-center Problem Approximability Results for the p-center Problem Stefan Buettcher Course Project Algorithm Design and Analysis Prof. Timothy Chan University of Waterloo, Spring 2004 The p-center

More information

Morphing Planar Graph Drawings

Morphing Planar Graph Drawings Morphing Planar Graph Drawings Giuseppe Di Battista Università degli Studi Roma Tre The 12th International Conference and Workshops on Algorithms and Computation WALCOM 2018 Basic definitions Graph drawing

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( ) The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

Lecture 8: The Traveling Salesman Problem

Lecture 8: The Traveling Salesman Problem Lecture 8: The Traveling Salesman Problem Let G = (V, E) be an undirected graph. A Hamiltonian cycle of G is a cycle that visits every vertex v V exactly once. Instead of Hamiltonian cycle, we sometimes

More information

Computing Radial Drawings on the Minimum Number of Circles

Computing Radial Drawings on the Minimum Number of Circles Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 9, no. 3, pp. 365 389 (2005) Computing Radial Drawings on the Minimum Number of Circles Emilio Di Giacomo Walter Didimo Giuseppe Liotta

More information

Online Motion Planning MA-INF 1314 Online TSP, Shortcut algorithm

Online Motion Planning MA-INF 1314 Online TSP, Shortcut algorithm Online Motion Planning MA-INF 1314 Online TSP, Shortcut algorithm Elmar Langetepe University of Bonn Online Motion Planning Online TSP Shortcut algorithm 10.5.2017 c Elmar Langetepe SS 17 1 Unknown graph

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Technical Report UU-CS-2008-042 December 2008 Department of Information and Computing Sciences Utrecht

More information

Discrete Wiskunde II. Lecture 6: Planar Graphs

Discrete Wiskunde II. Lecture 6: Planar Graphs , 2009 Lecture 6: Planar Graphs University of Twente m.uetz@utwente.nl wwwhome.math.utwente.nl/~uetzm/dw/ Planar Graphs Given an undirected graph (or multigraph) G = (V, E). A planar embedding of G is

More information

Parameterized graph separation problems

Parameterized graph separation problems Parameterized graph separation problems Dániel Marx Department of Computer Science and Information Theory, Budapest University of Technology and Economics Budapest, H-1521, Hungary, dmarx@cs.bme.hu Abstract.

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( ) 1 The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 97 E-mail: natarajan.meghanathan@jsums.edu Optimization vs. Decision

More information

Definition 1 (Hand-shake model). A hand shake model is an incidence geometry for which every line has exactly two points.

Definition 1 (Hand-shake model). A hand shake model is an incidence geometry for which every line has exactly two points. Math 3181 Dr. Franz Rothe Name: All3181\3181_spr13t1.tex 1 Solution of Test I Definition 1 (Hand-shake model). A hand shake model is an incidence geometry for which every line has exactly two points. Definition

More information

A constant-factor approximation algorithm for the asymmetric travelling salesman problem

A constant-factor approximation algorithm for the asymmetric travelling salesman problem A constant-factor approximation algorithm for the asymmetric travelling salesman problem London School of Economics Joint work with Ola Svensson and Jakub Tarnawski cole Polytechnique F d rale de Lausanne

More information

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility Outline CS38 Introduction to Algorithms Lecture 18 May 29, 2014 coping with intractibility approximation algorithms set cover TSP center selection randomness in algorithms May 29, 2014 CS38 Lecture 18

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Abstract We present two parameterized algorithms for the Minimum Fill-In problem, also known as Chordal

More information

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Wei Wang joint with Zishen Yang, Xianliang Liu School of Mathematics and Statistics, Xi an Jiaotong University Dec 20, 2016

More information

Algorithms design under a geometric lens Spring 2014, CSE, OSU Lecture 1: Introduction

Algorithms design under a geometric lens Spring 2014, CSE, OSU Lecture 1: Introduction 5339 - Algorithms design under a geometric lens Spring 2014, CSE, OSU Lecture 1: Introduction Instructor: Anastasios Sidiropoulos January 8, 2014 Geometry & algorithms Geometry in algorithm design Computational

More information