1 Graph Searching and Search Time Franz J. Brandenburg and Stefanie Herrmann University of Passau.

Slides:



Advertisements
Similar presentations
演 算 法 實 驗 室演 算 法 實 驗 室 On the Minimum Node and Edge Searching Spanning Tree Problems Sheng-Lung Peng Department of Computer Science and Information Engineering.
Advertisements

Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
Graph Isomorphism Algorithms and networks. Graph Isomorphism 2 Today Graph isomorphism: definition Complexity: isomorphism completeness The refinement.
Bart Jansen, Utrecht University. 2  Max Leaf  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least.
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
1 Steiner Tree on graphs of small treewidth Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
GOLOMB RULERS AND GRACEFUL GRAPHS
Combinatorial Algorithms
Between 2- and 3-colorability Rutgers University.
Graph Classes A Survey 張貿翔 中正大學資訊工程學系. Meeting Room Reservation One meeting room Reservation: –Gary10:00~11:00 –Mary10:30~12:00 –Jones13:30~14:30 –Amy14:00~15:30.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
16:36MCS - WG20041 On the Maximum Cardinality Search Lower Bound for Treewidth Hans Bodlaender Utrecht University Arie Koster ZIB Berlin.
On the Hardness of Graph Isomorphism Jacobo Tor á n SIAM J. Comput. Vol 33, p , Presenter: Qingwu Yang April, 2006.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
Chapter 11: Limitations of Algorithmic Power
Clique Width of Monogenic Bipartite Graphs Jordan Volz DIMACS REU 2006 Mentor: Dr. Vadim Lozin, RUTCOR.
The Maximum Independent Set Problem Sarah Bleiler DIMACS REU 2005 Advisor: Dr. Vadim Lozin, RUTCOR.
B. Li F. Moataz N. Nisse K. Suchan 1 Minimum Size Tree Decompositions 1, Inria, France 2, University Nice Sophia Antipolis, CNRS, I3S, France 3, Institute.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Graph Coalition Structure Generation Maria Polukarov University of Southampton Joint work with Tom Voice and Nick Jennings HUJI, 25 th September 2011.
CS 3343: Analysis of Algorithms Lecture 21: Introduction to Graphs.
Kernel Bounds for Structural Parameterizations of Pathwidth Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch July 6th 2012, SWAT 2012,
Presenter: Jen Hua Chi Adviser: Yeong Sung Lin Network Games with Many Attackers and Defenders.
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
Lecture 22 More NPC problems
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
Example Question on Linear Program, Dual and NP-Complete Proof COT5405 Spring 11.
Batch Scheduling of Conflicting Jobs Hadas Shachnai The Technion Based on joint papers with L. Epstein, M. M. Halldórsson and A. Levin.
Memory Allocation of Multi programming using Permutation Graph By Bhavani Duggineni.
Data Structures & Algorithms Graphs
The length of vertex pursuit games Anthony Bonato Ryerson University CCC 2013.
1/24 Introduction to Graphs. 2/24 Graph Definition Graph : consists of vertices and edges. Each edge must start and end at a vertex. Graph G = (V, E)
Twenty Years of EPT Graphs: From Haifa to Rostock Martin Charles Golumbic Caesarea Rothschild Institute University of Haifa With thanks to my research.
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
1 IM.CJCU Hsin-Hung Chou The Node-Searching Problem on Special Graphs 周信宏 長榮大學 資訊管理學系
Computing Branchwidth via Efficient Triangulations and Blocks Authors: F.V. Fomin, F. Mazoit, I. Todinca Presented by: Elif Kolotoglu, ISE, Texas A&M University.
1 Latency-Bounded Minimum Influential Node Selection in Social Networks Incheol Shin
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Uib.no UNIVERSITY OF BERGEN On Sparsification for Computing Treewidth Bart M. P. Jansen Insert «Academic unit» on every page: 1 Go to the menu «Insert»
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?
NPC.
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
CSC 413/513: Intro to Algorithms
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
Lecture. Today Problem set 9 out (due next Thursday) Topics: –Complexity Theory –Optimization versus Decision Problems –P and NP –Efficient Verification.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
Introduction to NP Instructor: Neelima Gupta 1.
Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.
TU/e Algorithms (2IL15) – Lecture 10 1 NP-Completeness, II.
More NP-Complete and NP-hard Problems
COMPLEXITY THEORY IN PRACTICE
Parameterized complexity Bounded tree width approaches
CS 3343: Analysis of Algorithms
Computability and Complexity
Structural graph parameters Part 2: A hierarchy of parameters
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
REDUCESEARCH Polynomial Kernels for Hitting Forbidden Minors under Structural Parameterizations Bart M. P. Jansen Astrid Pieterse ESA 2018 August.
Bart M. P. Jansen Jesper Nederlof
Miniconference on the Mathematics of Computation
The Theory of NP-Completeness
Presentation transcript:

1 Graph Searching and Search Time Franz J. Brandenburg and Stefanie Herrmann University of Passau

2 Survey graph searching: the game cost measures: time and space (searchers) monotone strategies graph representations speed-ups

3 The Game introduction by Parsons (1976) in speleology „How do you systematically explore a cave“. given: –an undirected graph G (a network, a system of tunnels or roads) –a gas contaminating the edges or an invisible fugitive who tries to escape –a team of searchers goal clear the graph by a systematic sweep and clean all edges or catch the fugitive by a systematic search of G versions node search: clear an edge by searchers on either side edge seach: clear an edge by a sweep

4 Rules all actions at discrete time steps, T = 0,1,...,t the searchers visit and guard nodes clear an edge node searching: by searchers at both ends for at least one time unit edge searching: a searcher sweeps the edge from either side recontaminate a cleared edge if there is an „open“ path from a contaminated to a cleared edge guarded paths a path with at least one guarded node the gas expands the fugitive tries to escape the searchers with unlimited speed

5 Example Ústì Lab Praha Plzen Karlovy vary Ceske Bud. Liberec Hradec Králove Brno Olomuc Ostrava

6 Example

7

8 Recontamination

9 Search Strategy a search strategy is a computation on the graph G = (V,E) describing the compete search on G s = ((C 0, B 0 ), (C 1, B 1 ),..., (C t, B t )) C i = set of cleared edges, C i  E B i = set of guarded vertices, B i  V step i: remove searchers from R i  B i and simultaneously place searchers at new nodes P i  V–B i update: B i+1 = B i – R i  P i C i+1 = C i  {(u,v) | u,v  B i+1 } new cleared edge – {(u,v)  C i | (u,v) is recontaminated} recontamination: there is an unguarded path to a cleared edge

10 Cost Measures a search strategy s = ((C 0, B 0 ), (C 1, B 1 ),..., (C t, B t )) width(s) = max { | B i | | 0≤i≤t} the maximal number of searchers, “space” search number(G) = min width(s) NEW length(s) = t-1 (discard the last step) the number of steps, “time” NEW: parameterized measures a connected, undirected graph G = (V,E) search-width(t) = min {width(s) | such that length(s) ≤ t}  ∞ given: time t, minimize the number of searchers in time t search-time(k) = min {length(s) | such that width(s) ≤ k}  ∞ given: k searchers, minimize the number of steps for k searchers

11 Monotone Strategies used terms: monotone, progressive, recontamination free a search strategy s = ((C 0, B 0 ), (C 1, B 1 ),..., (C t, B t )) is monotone, if Ø = C 0 ... C i  C i+1 ... C t =E i.e. a monotone sequence of cleared edges consequence: the guards at B i prohibit any contamination. They do not leave a gap (to escape). B i separates “old”, clear edges from ”new”, contaminated edges search-time(G) ≤ n-1 search-time(G) =n-1 e.g. for a path and two “node”-searchers

12 Monotonicity THEOREM 1: for every connected graph G and integers k, t ≥ 1 search strategy s  monotone search strategy s’ with search-width(t) ≤ k and search-time(k) ≤ t (same bounds) generalization (only for search number) Bienstock&Seymour DIMACS Series (1991) Fomin Discrete Appl. Math. (2004) Fomin&GolovachSIAM J. Disc. Appl. Math. (2005) Idea: (a nonconstructive proof) among all “good” search strategies with search-width(t) ≤ k and search-time(k) ≤ t let s’ be the “lightest” with ∑ i |B i | —> MIN This search strategy s’ must be monotone.

13 Monotonicity Corollary graph searching is in NP (first A. LaPaugh 1986; JACM 1993) i.e. do k searchers suffice, search number Corollary search-time(∞) ≤ n-1 for |G|=n i.e. visit and guard at least one new node per step

14 Min-Max Bounds THEOREM 2 let |G|=n, G connected integers k, t with k ≥ search number(G). There is a (monotone) search strategy s such that and Corollary speed-up for k searchers: at most a factor of (k-1)

15 Complexity PROPOSITION Search number (the least number of searchers), no time bounds is NP-complete for chordal graphs for star like graphs for bipartite and co-bipartite graphs for planar graphs of degree ≤ 3 is polynomially solvable for cographs for permutation graphs for graphs of bounded treewidth

16 Complexity: Searching THEOREM for connected graphs and integers t, k search-time(k) ≤ t is NP-complete i.e. given k searchers can they search G in time ≤ t? search-width(t) ≤ k is NP-complete i.e. given t+1 steps can G then be searched with only k searchers? Proof: reduction from 3-PARTITION an instance with m items of total size mB every item of size a is transformed into an a-clique and there is a center node 3-Partition iff B+1 searchers can search G in time m.

17 Graph Representations THEOREM The following are equivalent both for time = length and searchers = width –graph searching –pathwidth –interval thickness –vertex separation Consequence a constructive strategy for monotone graph searching Compute an optimal search (NP-hard).

18 Pathwidth path decomposition of G = (V, E) sequence of subsets of V, (X 1,..., X t )  X i = V every edge is contained in a bag X i for every node v: v  X i and v  X j implies v  X k for i ≤k≤j width = max { |X i | -1}, the size of the bags length = t

19 Pathwidth P C K P K U U P C L P UL L P C L H H O B P C H B H O B

20 Interval Thickness interval representation of G = (V, E) every node of G is an interval v.left, v.right for every edge (u,v) the intervals must overlap G is a subgraph of the interval graph (edge iff intervals overlap) width = max {overlapping intervals at some point x} length = max{v.right} – min{v.left}

21 Interval Thickness P C K UL H O B K PZ U P C L H B O O O

22 Vertex Separation linear layout of G = (V, E) number the nodes by 1,2,...,n for every position p, 1 ≤ p <n left(p) = {u ≤ p | there is an edge (u,v) with v > p} vertex separation number = max { | left(p)|} 01243

23 2-D Layouts 2-D layout map the positions into 2D p  (x,y) preserve the ordering p x < x’ or x=x and y<y’ width = max y-coordinate length = max x-coordinate

24 2-D Layouts P C K UL H O B P C K U L H OB O PZ

25 Equivalence THEOREM for connected graphs the following are equivalent: 1.search-width(t) = k and search-time(k) = t 2.pathwidth(t) = k-1 and path-length(k) = t 3.interval thickness(t) = kand interval length(k) = t 4.2D-width(t) = k-1and 2D-length(k) = t. Proof. Known constructions for width can be generalized to both parameters width + length. Corollary NP-completeness for pathwidth-length; interval thickness-length, 2Dwidth-length

26 Speed-Up Problem: if k searchers can search a graph G in time t – how fast can k+1 searchers do? – how many extra searchers are necessary for time t/2.

27 Speed-Up THEOREM there are classes G i and H i with search-number = k i such that there is maximal speed up for G i there is poor speed up for H i G i is searched by k i searchers in time |G i |+1-k i and k i +p searches search G i in time 1+  t/p  1 extra seacher saves 50% in time on n  (k i -1) grids H i is searched by k i searchers in time t and (2k i -1) searchers cannot do better e.g. (k-1) extra searchers do not help on (k i -1)-paths (paths of (k i -1) cliques)

28 Open Characterize the class of graphs with search number k and in every step we need k searchers. I.e. search-width(t)=k is strict. … under work by C. König Example: (k-1)  n grids Study new normal form for path decompositions. Minimize the length at a given width. Problem the fixed parameter complexity of search-time(k)

29 Thank You!

30 Pathwidth

31 Pathwidth

32 Interval Thickness interval representation of G = (V, E) every node of G is an interval v.left, v.right for every edge (u,v) the intervals must overlap G is a subgraph of the interval graph (edge iff intervals overlap) width = max {overlapping intervals at some point x} length = max{v.right} – min{v.left}

33 Interval Thickness

34 Vertex Separation linear layout of G = (V, E) number the nodes by 1,2,...,n for every position p, 1 ≤ p <n left(p) = {u ≤ p | there is an edge (u,v) with v > p} vertex separation number = max { |left(p)|} 12345

35 2-D Layouts 2-D layout map the positions into 2D p  (x,y) preserve the ordering p x < x’ or x=x and y<y’ width = max y-coordinate length = max x-coordinate