LATIN’02 April 4 Cancun, Mexico 1 On the Power of BFS to Determine a Graph’s Diameter Derek G. Corneil University of Toronto Feodor F. Dragan Kent State.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Introduction to Algorithms Lecture 12 Prof. Constantinos Daskalakis CLRS
Single Source Shortest Paths
Graphs and Finding your way in the wilderness
Approximations of points and polygonal chains
Compact and Low Delay Routing Labeling Scheme for Unit Disk Graphs Chenyu Yan, Yang Xiang, and Feodor F. Dragan (WADS 2009) Kent State University, Kent,
Graph Traversals Visit vertices of a graph G to determine some property: Is G connected? Is there a path from vertex a to vertex b? Does G have a cycle?
Breadth-First Search Seminar – Networking Algorithms CS and EE Dept. Lulea University of Technology 27 Jan Mohammad Reza Akhavan.
Graphs By JJ Shepherd. Introduction Graphs are simply trees with looser restrictions – You can have cycles Historically hard to deal with in computers.
Graph Traversals Visit vertices of a graph G to determine some property: Is G connected? Is there a path from vertex a to vertex b? Does G have a cycle?
Tree Spanners for Bipartite Graphs and Probe Interval Graphs Andreas Brandstädt 1, Feodor Dragan 2, Oanh Le 1, Van Bang Le 1, and Ryuhei Uehara 3 1 Universität.
WG’2001 June 14 Boltenhagen near Rostock, Germany 1 Estimating All Pairs Shortest Paths in Restricted Graph Families: A Unified Approach Feodor F. Dragan.
Data Transmission and Base Station Placement for Optimizing Network Lifetime. E. Arkin, V. Polishchuk, A. Efrat, S. Ramasubramanian,V. PolishchukA. EfratS.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 21st Lecture Christian Schindelhauer.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 8 May 4, 2005
Chapter 9 Graph algorithms. Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Interferences, Trade-Offs between.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Graph Traversals CSC 172 SPRING 2002 LECTURE 26. Traversing graphs Depth-First Search like a post-order traversal of a tree Breath-First Search Less like.
Dean H. Lorenz, Danny Raz Operations Research Letter, Vol. 28, No
Aho-Corasick String Matching An Efficient String Matching.
CSE 421 Algorithms Richard Anderson Lecture 4. What does it mean for an algorithm to be efficient?
Collective Additive Tree Spanners of Homogeneously Orderable Graphs
Collective Tree Spanners of Graphs with Bounded Parameters F.F. Dragan and C. Yan Kent State University, USA.
Collective Tree Spanners of Graphs F.F. Dragan, C. Yan, I. Lomonosov Kent State University, USA Hiram College, USA.
Collective Tree Spanners and Routing in AT-free Related Graphs F.F. Dragan, C. Yan, D. Corneil Kent State University University of Toronto.
Additive Spanners for k-Chordal Graphs V. D. Chepoi, F.F. Dragan, C. Yan University Aix-Marseille II, France Kent State University, Ohio, USA.
Tirgul 7 Review of graphs Graph algorithms: – BFS (next tirgul) – DFS – Properties of DFS – Topological sort.
ECE669 L10: Graph Applications March 2, 2004 ECE 669 Parallel Computer Architecture Lecture 10 Graph Applications.
Hardness Results for Problems
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Distance Approximating Trees in Graphs
Chapter 9 – Graphs A graph G=(V,E) – vertices and edges
1 Shortest Path Problem Topic 11 ITS033 – Programming & Algorithms C B A E D F Asst. Prof. Dr. Bunyarit Uyyanonvara IT Program,
Computer Science 112 Fundamentals of Programming II Introduction to Graphs.
Trees and Distance. 2.1 Basic properties Acyclic : a graph with no cycle Forest : acyclic graph Tree : connected acyclic graph Leaf : a vertex of degree.
Graph Algorithms. Definitions and Representation An undirected graph G is a pair (V,E), where V is a finite set of points called vertices and E is a finite.
A Clustering Algorithm based on Graph Connectivity Balakrishna Thiagarajan Computer Science and Engineering State University of New York at Buffalo.
The Influence of Network Topology on the Efficiency of QoS Multicast Heuristic Algorithms Maciej Piechowiak Piotr Zwierzykowski Poznan University of Technology,
CSE 2331 / 5331 Topic 12: Shortest Path Basics Dijkstra Algorithm Relaxation Bellman-Ford Alg.
SODA’02 January 7 San Francisco, CA 1 Center and Diameter Problems in Plane Triangulations and Quadrangulations Victor D. Chepoi Universite Aix-Marseille.
Data Structures & Algorithms Graphs
A Unified View of Graph Searching
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Introduction to Graph Theory
Tree Spanners on Chordal Graphs: Complexity, Algorithms, Open Problems A. Brandstaedt, F.F. Dragan, H.-O. Le and V.B. Le University of Rostock, Germany.
LOCALIZED MINIMUM - ENERGY BROADCASTING IN AD - HOC NETWORKS Paper By : Julien Cartigny, David Simplot, And Ivan Stojmenovic Instructor : Dr Yingshu Li.
Graph Theory. undirected graph node: a, b, c, d, e, f edge: (a, b), (a, c), (b, c), (b, e), (c, d), (c, f), (d, e), (d, f), (e, f) subgraph.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
Network Partition –Finding modules of the network. Graph Clustering –Partition graphs according to the connectivity. –Nodes within a cluster is highly.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
Spanning Tree Definition:A tree T is a spanning tree of a graph G if T is a subgraph of G that contains all of the vertices of G. A graph may have more.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
CSC 213 – Large Scale Programming Lecture 31: Graph Traversals.
Graphs David Kauchak cs302 Spring Admin HW 12 and 13 (and likely 14) You can submit revised solutions to any problem you missed Also submit your.
1 GRAPHS – Definitions A graph G = (V, E) consists of –a set of vertices, V, and –a set of edges, E, where each edge is a pair (v,w) s.t. v,w  V Vertices.
CSC317 1 At the same time: Breadth-first search tree: If node v is discovered after u then edge uv is added to the tree. We say that u is a predecessor.
Graph Algorithm.
A Unified View of Graph Searching
Graphs Chapter 11 Objectives Upon completion you will be able to:
Distance Approximating Trees in Graphs Brandstaedt & Chepoi & Dragan, ESA’97, J. of Algorithms ’99, European J. of Combinatorics 2000 A graph G=(V,E)
Trees.
Feodor F. Dragan 1990 Ph.D. in Theoretical Computer Science Institute of Mathematics of the Byelorussian Academy of Science, Minsk Moldova State University.
On (k,l)-Leaf Powers Peter Wagner University of Rostock, Germany
Distance Approximating Trees: Complexity and Algorithms
CSE 417: Algorithms and Computational Complexity
How to use spanning trees to navigate in Graphs
Lecture 14 Minimum Spanning Tree (cont’d)
More Graphs Lecture 19 CS2110 – Fall 2009.
Presentation transcript:

LATIN’02 April 4 Cancun, Mexico 1 On the Power of BFS to Determine a Graph’s Diameter Derek G. Corneil University of Toronto Feodor F. Dragan Kent State University, Ohio Ekkehard Kohler Technische Universitat Berlin..

LATIN’02 April 4 Cancun, Mexico 2 The Diameter Problem (find a longest shortest path in a graph) G = (V,E) is a connected, finite, and undirected graph The length of a path from a vertex v to a vertex u is the number of edges in the path The distance d(u,v) is the length of a shortest (u,v)-path The eccentricity ecc(v) of a vertex v is the maximum distance from v to a vertex in G The radius r(G) is the minimum eccentricity of a vertex in G and the diameter d(G) is the maximum eccentricity The diameter problem: find d(G) and x,y such that d(x,y)=d(G) (in other words, find a vertex of maximum eccentricity)

LATIN’02 April 4 Cancun, Mexico 3 Applications The diameter problem is a basic problem in algorithmic graph theory and computational geometry. It naturally arises in communication and transportation networks (the linkage structure of communication networks is usually modeled by the graph). if the number of links in a path is roughly proportional to the time delay or signal degradation encountered by messages sent along the path, the diameter is then involved in the complexity analysis for the performance of the network; the diameter of a communication network gives a lower bound on the time needed to transmit a message from an arbitrary source node to all other nodes.

LATIN’02 April 4 Cancun, Mexico 4 Known General Results Determining the diameter of a graph is a basic but seemingly quite time consuming operation. No efficient algorithms for the diameter problem in general graphs, avoiding the computation of whole distance matrix, has been designed (Can the diameter be computed easier than the whole distance matrix?). A ratio 2/3 approximation to the diameter in time Diameter with an additive error 2: naïve approach: O(nm) ( for dense graphs) via matrix multiplications: O(M(n) log n) [Seidel’92] [Coppersmith/Winograd’ 87] not practical, large hidden constants distances with an additive one-sided error 2: [Aingworth/Chekuri/Indyk/Motwani’ 96] [Dor/Halperin/Zwick’ 96] [Aingworth/Chekuri/Indyk/Motwani’ 96]

LATIN’02 April 4 Cancun, Mexico 5 Our Approach Examine the naïve algorithm of choosing a vertex performing some version of BFS from this vertex and then showing a nontrivial bound on the eccentricity of the last vertex visited in this search. This approach has already received considerable attention (classical result [Handler’73]) for trees this method produces a vertex of maximum eccentricity [Dragan et al’ 97] if LexBFS is used for chordal graphs, then whereas for interval graphs and Ptolemaic graphs [Corneil et al’99] if LexBFS is used on AT-free graphs, then [Dragan’99] if LexBFS is used, then for HH-free graphs, for HHD-free graphs and for HHD-free and AT-free graphs [Corneil et al’01] considers multi sweep LexBFSs …

LATIN’02 April 4 Cancun, Mexico 6 Motivation for this paper Those results motivate a number of interesting questions: Is it an inherent property of LexBFS to end in a vertex of high eccentricity for the various restricted graph families mentioned above? What happens if we use other variants of BFS? Why do AT-free and chordal graphs, two families with very disparate structure, exhibit such similar behavior with respect to the efficacy of LexBFS to find vertices of high eccentricity? Although LexBFS ``fails'' to find vertices of high eccentricity for graphs in general, all known examples that exhibit such failure have large induced cycles. If we bound the size of the largest induced cycle, can we get a bound on the eccentricity of the vertex that appears last in an LexBFS? If the previous question is answered in the affirmative, is the full power of LexBFS needed? What happens if we just use BFS? This paper addresses these questions.

LATIN’02 April 4 Cancun, Mexico 7 Variants of BFS used Can be implemented to run in linear time

LATIN’02 April 4 Cancun, Mexico 8 Our Results on Restricted Families of Graphs No induced cycles of length >3 No asteroidal triples No asteroidal triples and The intersection graph of intervals of a line No induced cycles of length >4 asteroidal triple a,b,c b c a

LATIN’02 April 4 Cancun, Mexico 9 k-Chordal Graphs To capture the notion of “small” induced cycles, we define a graph to be k-chordal if it has no induced cycles of length greater than k. Chordal graphs are exactly 3-chordal Hole-free graphs are exactly 4-chordal AT-free graphs are 5-chordal We have Fig. 14 shows a 4k-chordal graph with ecc(v)=2k+1 and diam(G)=4k. We conjecture that It is true for k=3 (chordal graphs), k=4 (hole-free graphs) and k=5 For k=5 we have

LATIN’02 April 4 Cancun, Mexico 10 The Method: Chordal Graphs and BFS

LATIN’02 April 4 Cancun, Mexico 11 The Method (cont.) If

LATIN’02 April 4 Cancun, Mexico 12 The Method (cont.) If