T. C. van Dijk1, J.-H. Haunert2, J. Oehrlein2 1University of Würzburg

Slides:



Advertisements
Similar presentations
NP-Hard Nattee Niparnan.
Advertisements

Testing planarity part 1 Thomas van Dijk. Preface Appendix of Planar Graph Drawing Quite hard to read So we’ll try to explain it, not just tell you about.
Approximation Algorithms
Max Cut Problem Daniel Natapov.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
1 Interconnect Layout Optimization by Simultaneous Steiner Tree Construction and Buffer Insertion Presented By Cesare Ferri Takumi Okamoto, Jason Kong.
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
I/O-Efficient Batched Union-Find and Its Applications to Terrain Analysis Pankaj K. Agarwal, Lars Arge, Ke Yi Duke University University of Aarhus.
1 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
University of CreteCS4831 The use of Minimum Spanning Trees in microarray expression data Gkirtzou Ekaterini.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.
1 Introduction to Graphs Graph definition / applications Graph terminology –Undirected graphs –Directed graphs –Networks Implementing graphs Reading: L&C.
1 Internet Networking Spring 2002 Tutorial 6 Network Cost of Minimum Spanning Tree.
Coloring Algorithms and Networks. Coloring2 Graph coloring Vertex coloring: –Function f: V  C, such that for all {v,w}  E: f(v)  f(w) Chromatic number.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
Graphs Chapter 28 Copyright ©2012 by Pearson Education, Inc. All rights reserved.
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Graph Algorithms: Minimum.
Programming & Data Structures
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Fixed Parameter Complexity Algorithms and Networks.
MST Many of the slides are from Prof. Plaisted’s resources at University of North Carolina at Chapel Hill.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Advanced Algorithm Design and Analysis (Lecture 13) SW5 fall 2004 Simonas Šaltenis E1-215b
UNC Chapel Hill Lin/Foskey/Manocha Minimum Spanning Trees Problem: Connect a set of nodes by a network of minimal total length Some applications: –Communication.
Graphs Rosen, Chapter 8. Isomorphism (Rosen 560 to 563) Are two graphs G1 and G2 of equal form? That is, could I rename the vertices of G1 such that the.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
NP-Complete problems.
Technology Mapping. 2 Technology mapping is the phase of logic synthesis when gates are selected from a technology library to implement the circuit. Technology.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Algorithms for hard problems Introduction Juris Viksna, 2015.
CSC 413/513: Intro to Algorithms
Graph clustering to detect network modules
The NP class. NP-completeness
Mathematical Foundations of AI
Minimum Spanning Trees
12. Graphs and Trees 2 Summary
Haim Kaplan and Uri Zwick
Algorithms for hard problems
COMP 6/4030 ALGORITHMS Prim’s Theorem 10/26/2000.
Lecture 12 Algorithm Analysis
Greedy Algorithms / Minimum Spanning Tree Yin Tat Lee
Short paths and spanning trees
Constrained Bipartite Vertex Cover: The Easy Kernel is Essentially Tight Bart M. P. Jansen June 4th, WORKER 2015, Nordfjordeid, Norway.
Parameterised Complexity
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Richard Anderson Lecture 28 NP-Completeness
Chapter 9: Graphs Basic Concepts
CS 583 Analysis of Algorithms
Minimum Spanning Trees
Introduction Wireless Ad-Hoc Network
Yan Shi CS/SE 2630 Lecture Notes
Lecture 12 Algorithm Analysis
Approximation Algorithms
Sungho Kang Yonsei University
Graphs and Algorithms (2MMD30)
Backtracking and Branch-and-Bound
Ideas for testing Transformations of cds 4/27/2019 AOO/Demeter.
Lecture 12 Algorithm Analysis
Copyright ©2012 by Pearson Education, Inc. All rights reserved
Variable Elimination Graphical Models – Carlos Guestrin
Lecture 11 Graph Algorithms
Chapter 9: Graphs Basic Concepts
A Variation of Minimum Latency Problem on Path, Tree and DAG
Minimum Spanning Trees
Presentation transcript:

Location-dependent generalization of road networks based on equivalent destinations T. C. van Dijk1, J.-H. Haunert2, J. Oehrlein2 1University of Würzburg 2University of Osnabrück

Motivation Hey there! Could you please give me directions to Paris? Of course! What’s your exact destination address?

Contract vertices if their distinction is not meaningful Idea Contract vertices if their distinction is not meaningful Source: http://dailyinfographics.eu/

Related Work: Map Generalization (Hake et al., 1994) Much work on road selection for static single-scale maps (e.g., Jiang & Claramunt, 2004; Thomson & Brooks, 2002) Selection is NP-hard even for rather simple models of the problem (Brunel et al., 2014)

Related Work: Variable-Scale Maps Fish-eye projections for user-centered navigation maps Level of detail (LoD) follows scale (Hampe et al., 2004)

Related Work: Destination Maps Road selection based on shortest paths Scale follows LoD No guarantee of optimality with respect to a well-defined objective Road selection based on shortest paths, prior to map deformation No guarantee of optimality with respect to a well-defined objective (Kopf et al., 2010)

𝒯 Prerequisites road network: graph 𝐺 user location: vertex 𝑠 shortest paths from 𝑠 to all other vertices shortest paths from 𝑠 to all points in 𝐺

Problem definition Given a tree 𝒯=(𝑉, 𝐸 𝒯 ) rooted at 𝑠∈𝑉 For any 𝑢,𝑣∈𝑉,𝑢≠𝑠 define directed similarity as 𝜎 𝑢,𝑣 = 𝑤( 𝑃 𝑠𝑥 ) 𝑤( 𝑃 𝑠𝑢 ) where 𝑥∈𝑉 is the lowest common ancestor of 𝑢 and 𝑣 in 𝒯. Any 𝑢,𝑣∈𝑉 are called 𝜶-compatible if 𝜎 𝑢,𝑣 ≥𝛼 and 𝜎 𝑣,𝑢 ≥𝛼 with 𝛼∈[0,1] For fixed 𝛼 this is expressed as 𝑢⊕𝑣 Tree with edge weight 1 𝜎 𝑢,𝑣 = 2 5 𝜎 𝑣,𝑢 = 1 2

Problem definition Define a compatibility graph 𝐺 ⊕ =(𝑉, 𝐸 ⊕ ) with 𝐸 ⊕ = 𝑢,𝑣 ∈𝑉×𝑉:𝑢⊕𝑣, 𝑢≠𝑣 Contracting 𝑆⊆𝑉 is allowed if and only if 𝑆 is connected in 𝒯 𝑆 is a clique in 𝐺 ⊕ NOT 𝑢⊕𝑣 Cluster as much as possible → [next sheet] (here: 𝛼= 2 3 )

Problem: TreeSummary Instance: A tree 𝒯= 𝑉, 𝐸 𝒯 , rooted at 𝑠∈𝑉 Weights on the edges 𝑤: 𝐸 𝒯 → ℝ ≥0 A compatibility threshold 𝛼∈[0,1] Problem: Related to CliqueCover, efficently solvable Find a partition of 𝑉 into as few cells as possible, such that each cell is an allowed contraction!

Lemmata Let 𝑢,𝑣∈𝑉 be vertices and let 𝑥 be their lowest common ancestor. Then: 𝑢⊕𝑣 ⟺𝑢⊕𝑥 ∧ 𝑣⊕𝑥 Let 𝑥∈𝑉 and let 𝑎,𝑏∈𝑉 be descendants of 𝑥. Then: 𝑤( 𝑃 𝑠𝑎 )≤ 𝑤( 𝑃 𝑠𝑏 ) ∧ 𝑏⊕𝑥 ⟹ 𝑎⊕𝑥 . L1: ratios, 𝑃 𝑠𝑥 ≥𝛼 𝑃 𝑠𝑢 and 𝑃 𝑠𝑥 ≥𝛼 𝑃 𝑠𝑢

Algorithm: ContractTree Following invariants of a cell 𝐶 hold: Vertices of 𝐶 are connected in 𝒯 𝐶 is clique in 𝐺 ⊕ deep vertices of their cell (here: 𝛼= 2 3 )

Algorithm: ContractTree Data: Rooted Tree 𝒯 with edge weights Result: Minimum-cardinality allowed contraction 𝓒 𝓒 ← the set with a singleton cell for each vertex of 𝒯; For all the vertices 𝑥∈𝒯, in post-order do 𝑆 ⊕ ← {𝑣∈𝐶ℎ𝑖𝑙𝑑𝑟𝑒𝑛 𝑥 :𝑥⊕𝐷𝑒𝑒𝑝(𝐶𝑒𝑙𝑙 𝑣 )}; Merge 𝐶𝑒𝑙𝑙(𝑥) and all 𝐶𝑒𝑙𝑙(𝑣) for 𝑣∈𝑆 ⊕ End Return 𝓒; run-time: 𝒪( 𝑉 )

Algorithm: Result is optimal Let 𝓒 be the set of cells of 𝒯 computed with the algorithm 𝓒 is a clique cover of 𝐺 ⊕ Consider 𝓘≔{𝐷𝑒𝑒𝑝 𝐶 :𝐶∈𝓒} 𝓘 is an independent set of 𝐺 ⊕ : Assume 𝑢,𝑣 ∈ 𝐸 ⊕ for any 𝑢,𝑣∈𝓘 Let 𝑥 be the lowest common ancestor of 𝑢 and 𝑣 𝑢⊕𝑣 ⟹ 𝑥⊕𝑢 and 𝑥⊕𝑣 𝐶𝑒𝑙𝑙(𝑢) and 𝐶𝑒𝑙𝑙(𝑣) would have been merged 𝓘 = 𝓒 𝓒 is a minimal clique cover of 𝐺 ⊕ 𝑥 𝑢 ↯ 𝑣

How to visualize this tree? Visualization Represent each cell by its root vertex. The relation between the cells is a tree structure induced by 𝒯. How to visualize this tree? Three different proposals

Visualization: Three proposals Detailed drawing For every cell 𝑐 and its parent 𝑝 draw 𝑃 𝑝𝑐 + topologically correct ± same level of detail as input − internal branches actual shortest path in 𝐺

Visualization: Three proposals Detailed drawing Direct drawing For every cell 𝑐 and its parent 𝑝 draw a direct line between 𝑝 and 𝑐 + simple and highly generalized + shows the actual clustering − not topologically safe

Visualization: Three proposals Detailed drawing Direct drawing Simplified drawing Construct detailed drawing and apply topologically-safe simplification algorithm (Dyken et al., 2009) + topologically safe ± less internal branches − heuristic

Visualization: Cross connections Resulting tree gives no information about cell adjacency Draw cross connections between neighboring cells

Example results 𝛼=70% 𝛼=50% 𝛼=90% direct

with cross connections Example results detailed 𝛼=70% with cross connections w/o cross connections direct simpl.

Example results Focus map (van Dijk et al., 2013) 𝛼=0.5

Summary Problem TreeSummary: Contraction of compatible destination Optimal linear-time algorithm (traversing tree in post-order) Three kinds of drawings: Detailed Direct Simplified Cross connections