Tree Decomposition Benoit Vanalderweireldt Phan Quoc Trung Tram Minh Tri Vu Thi Phuong 1.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms
Advertisements

22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Presented By: Saleh A. Almugrin * Based and influenced by many works of Hans L. Bodlaender, * Based and influenced by many works of Hans.
1 Steiner Tree on graphs of small treewidth Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
The Power of Preprocessing Bart M. P. Jansen September 29th, Algorithms & Visualization seminar, TU Eindhoven.
Train DEPOT PROBLEM USING PERMUTATION GRAPHS
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
16:36MCS - WG20041 On the Maximum Cardinality Search Lower Bound for Treewidth Hans Bodlaender Utrecht University Arie Koster ZIB Berlin.
Welcome to the TACO Project Finding tree decompositions Hans L. Bodlaender Institute of Information and Computing Sciences Utrecht University.
Chapter 3 The Efficiency of Algorithms
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
The Theory of NP-Completeness
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Analysis of Algorithms CS 477/677
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
Chapter 11: Limitations of Algorithmic Power
Additive Spanners for k-Chordal Graphs V. D. Chepoi, F.F. Dragan, C. Yan University Aix-Marseille II, France Kent State University, Ohio, USA.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Two Discrete Optimization Problems Problem #2: The Minimum Cost Spanning Tree Problem.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Part I: Introductory Materials Introduction to Graph Theory Dr. Nagiza F. Samatova Department of Computer Science North Carolina State University and Computer.
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.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
Kernel Bounds for Structural Parameterizations of Pathwidth Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch July 6th 2012, SWAT 2012,
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
1 Bart Jansen Independent Set Kernelization for a Refined Parameter: Upper and Lower bounds TACO Day, Utrecht January 12 th, 2011 Joint work with Hans.
Algorithms  Al-Khwarizmi, arab mathematician, 8 th century  Wrote a book: al-kitab… from which the word Algebra comes  Oldest algorithm: Euclidian algorithm.
Algorithms and Running Time Algorithm: Well defined and finite sequence of steps to solve a well defined problem. Eg.,, Sequence of steps to multiply two.
Constructing Hamiltonian Circuits When all nodes have degree of at least n/2 (Also: an implementation in C++ using Boost) Presented by Alan SUnMaRC,
Approximation Algorithms
CSC 172 P, NP, Etc. “Computer Science is a science of abstraction – creating the right model for thinking about a problem and devising the appropriate.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
1 Bart Jansen Independent Set Kernelization for a Refined Parameter: Upper and Lower bounds ALGORITMe Staff Colloquium, Utrecht September 10 th, 2010 Joint.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
Shortest Path Algorithms. Definitions Variants  Single-source shortest-paths problem: Given a graph, finding a shortest path from a given source.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
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.
Spectral Sequencing Based on Graph Distance Rong Liu, Hao Zhang, Oliver van Kaick {lrong, haoz, cs.sfu.ca {lrong, haoz, cs.sfu.ca.
Limits to Computation How do you analyze a new algorithm? –Put it in the form of existing algorithms that you know the analysis. –For example, given 2.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
Optimization Problems
Computing Branchwidth via Efficient Triangulations and Blocks Authors: F.V. Fomin, F. Mazoit, I. Todinca Presented by: Elif Kolotoglu, ISE, Texas A&M University.
LIMITATIONS OF ALGORITHM POWER
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
David Stotts Computer Science Department UNC Chapel Hill.
Graph Concepts and Algorithms Using LEDA By Caroline Moore and Carmen Frerichs (252a-at and 252a-ao) each graph in the presentation was created using gw_basic_graph_algorithms.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
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.
Introduction to NP Instructor: Neelima Gupta 1.
1 P and NP. 2 Introduction The Traveling Salesperson problem and thousands of other problems are equally hard in the sense that if we had an efficient.
Construction We constructed the following graph: This graph has several nice properties: Diameter Two Graph Pebbling Tim Lewis 1, Dan Simpson 1, Sam Taggart.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
P & NP.
Algorithms for Finding Distance-Edge-Colorings of Graphs
Joint work with Hans Bodlaender
Parameterized complexity Bounded tree width approaches
Section 2: Multiple choice
ICS 353: Design and Analysis of Algorithms
Bin Fu Department of Computer Science
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Graphs Chapter 13.
Maximum Flows of Minimum Cost
Md. Abul Kashem, Chowdhury Sharif Hasan, and Anupam Bhattacharjee
Algorithms for Budget-Constrained Survivable Topology Design
Presentation transcript:

Tree Decomposition Benoit Vanalderweireldt Phan Quoc Trung Tram Minh Tri Vu Thi Phuong 1

Summary 2 Introduction Definition Requirement Data structure Graph generators Algorithm Example Benchmark and tests Interpretation Conclusion

Definition 3 Tree decomposition

Definition 4 Tree width 1.The width of a bag is the cardinality of the bag. 2.The width of a tree decomposition is the size of the largest bag minus one 3.The treewidth of a graph G is the minimum width among all possible tree decompositions of G minus 1, denoted as tw(G). Note that trees and forests are precisely the structures with treewidth of 1.

Introduction 5 Graph reachability answering using tree decomposition ? Is it profitable to decompose a graph In order to test reachability ?

Requirement 6 1.Understand notion of tree decomposition 2.Develop a data structure for graphs 3.Develop different graph generators 4.Implement the 4 parts of the algorithms 5.Make benchmark 6.Analyze result 7.Make conclusion 8.Write report 9.Present our work

Data structure 7 Vertex Tree Node

Graph generators 8 In order to test the algorithm, we generated various kind of graphs : 1.Inclusive square graph 2.Friendship graph 3.Random graph Friendship graph

Algorithm 9 Algorithm 1 start with reduction of an undirected graph before construction the tree

Algorithm 10 Explanation in following examples

Algorithm 11

Example 12 Random graph

Example 13 Random graph 6 7

Example Complete graph 1 2 3

Example Wheel Graph

Example Bipartite Graph

Example 17 Cycle graph

Benchmark 18 The main goal of benchmark is to reveal in what condition it is gainful to reduced graph in order to check reachability. We run multiple series of benchmark : Various number of vertices and neighbors ….. Every test series have been past at least 2 times (to operating system accident) We compare effective results with expected results Our series (around 20 measures) vary (increase or decrease) numbers of edges or vertices What else ?

Benchmark 19 In order to have workable measure, we have to establish a protocol to collect data. We quickly realize that to have meaningful results, we need to apply the algorithm of really large graph (over hundred of vertices). Put some capture of result like in report

Interpretation 20 From these tests we found that the execution time of this algorithm is influenced by number of edges not really by number of vertices. If the density of edges increases then the computing time for the graph reduction increase. In order to use this algorithm in a good responding time, the density of edges must be well know.

Advantage & Disadvantage 21 Advantage of Tree Decomposition: Solving shortest path query answering over undirected large graphs. Many intractable problems (Independent Set, the Hamiltonian Circuits) can be solved in polynomial time or even in linear time Disadvantage of Tree Decomposition: Calculating the tree width of a graph is hard. (NP-complete) It’s impossible to guarantee that good performance will be obtained even though the tree width can be determined.  To solve really hard problems efficiently by using the tree decomposition based approaches, we have to require that the underlying graphs have bounded tree width (less than 10)

Conclusion 22 1.In this project, we implemented the algorithm of tree decomposition as the index structure for a large graphs to answer reachability queries efficiently. 2.This approach used to solve intractable problems (NP-complete) 3.One of the limitation of tree decomposition based approach is the underlying graphs have bounded treewidth, but in this algorithm the treewidth is adapted to be related to degree-l reduction, instead of the treewidth.

Acknowledgements 23 This project was supported by a grant from the professor Bruno Courcelle and Anne Dicky Reference 1. Efficient Graph Reachability Query Answering using Tree Decomposition, by Fang Wei (Computer Science Department, University of Freiburg, Germany). 2.Discrete Math for Bioinformatics, by A. Bockmayr/K 3. A partial k-arboretum of graph with bounded treewidth, by Hans Bodlaender