Algorithms for hard problems Parse trees for graphs Juris Viksna, 2015.

Slides:



Advertisements
Similar presentations
Comparative Succinctness of KR Formalisms Paolo Liberatore.
Advertisements

The Euler Phi-Function Is Multiplicative (3/3)
Lecture 19. Reduction: More Undecidable problems
Lecture 24 MAS 714 Hartmut Klauck
Generalization and Specialization of Kernelization Daniel Lokshtanov.
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.
Graph Isomorphism Algorithms and networks. Graph Isomorphism 2 Today Graph isomorphism: definition Complexity: isomorphism completeness The refinement.
3.3 Divisibility Definition If n and d are integers, then n is divisible by d if, and only if, n = dk for some integer k. d | n  There exists an integer.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 4 By Herb I. Gross and Richard A. Medeiros next.
Complexity 18-1 Complexity Andrei Bulatov Probabilistic Algorithms.
1 Introduction to Computability Theory Lecture5: Context Free Languages Prof. Amos Israeli.
1 Huffman Codes. 2 Introduction Huffman codes are a very effective technique for compressing data; savings of 20% to 90% are typical, depending on the.
CPSC 411, Fall 2008: Set 12 1 CPSC 411 Design and Analysis of Algorithms Set 12: Undecidability Prof. Jennifer Welch Fall 2008.
Fall 2003Costas Busch - RPI1 Decidability. Fall 2003Costas Busch - RPI2 Recall: A language is decidable (recursive), if there is a Turing machine (decider)
1 Undecidability Andreas Klappenecker [based on slides by Prof. Welch]
CSE115/ENGR160 Discrete Mathematics 03/03/11 Ming-Hsuan Yang UC Merced 1.
Catriel Beeri Pls/Winter 2004/5 type reconstruction 1 Type Reconstruction & Parametric Polymorphism  Introduction  Unification and type reconstruction.
Regular Expression (EXTRA)
NP-Completeness NP-Completeness Graphs 4/17/2017 4:10 AM x x x x x x x
CS5371 Theory of Computation Lecture 1: Mathematics Review I (Basic Terminology)
Theory of Computing Lecture 20 MAS 714 Hartmut Klauck.
1 Slides by Asaf Shapira & Michael Lewin & Boaz Klartag & Oded Schwartz. Adapted from things beyond us.
CS 461 – Sept. 12 Simplifying FA’s. –Let’s explore the meaning of “state”. After all if we need to simplify, this means we have too many states. –Myhill-Nerode.
Introduction to CS Theory Lecture 3 – Regular Languages Piotr Faliszewski
11.2 Series In this section, we will learn about: Various types of series. INFINITE SEQUENCES AND SERIES.
Interactive proof systems Section 10.4 Giorgi Japaridze Theory of Computability.
Information and Coding Theory Cyclic codes Juris Viksna, 2015.
CS 3813: Introduction to Formal Languages and Automata Chapter 12 Limits of Algorithmic Computation These class notes are based on material from our textbook,
 2005 SDU Lecture13 Reducibility — A methodology for proving un- decidability.
CS 203: Introduction to Formal Languages and Automata
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Parameterized algorithms and their applications Juris Viksna Riga, IMCS.
Algorithms for hard problems Parameterized complexity – definitions, sample algorithms Juris Viksna, 2015.
NP-Completeness  For convenience, the theory of NP - Completeness is designed for decision problems (i.e. whose solution is either yes or no).  Abstractly,
Algorithms for hard problems WQO theory and applications to parameterized complexity Juris Viksna, 2015.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
Algorithms for hard problems Automata and tree automata Juris Viksna, 2015.
Equivalence with FA * Any Regex can be converted to FA and vice versa, because: * Regex and FA are equivalent in their descriptive power ** Regular language.
Approximating graph coloring of minor-closed graphs Joint Work with Erik Demaine, Mohammad Hajiaghayi, Bojan Mohar, Robin Thomas Partially joint Work with.
Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar Dr Nazir A. Zafar Advanced Algorithms Analysis and Design.
2-1: Graphing Linear Relations and Functions
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Parameterized algorithms and their applications
NP-Completeness NP-Completeness Graphs 5/7/ :49 PM x x x x x x x
Probabilistic Algorithms
Hans Bodlaender, Marek Cygan and Stefan Kratsch
Multi-tape TM’s Often it’s useful to have several tapes when carrying out a computations. For example, consider a two tape I/O TM for adding numbers (we.
CSE 311 Foundations of Computing I
Automata, Grammars and Languages
1-1: Graphing Linear Relations and Functions
Parameterized complexity Bounded tree width approaches
Pushdown Automata.
Algorithms and networks
2-1: Graphing Linear Relations and Functions
Computability and Complexity
NP-Completeness NP-Completeness Graphs 11/16/2018 2:32 AM x x x x x x
Jaya Krishna, M.Tech, Assistant Professor
Intractable Problems Time-Bounded Turing Machines Classes P and NP
CSCE 411 Design and Analysis of Algorithms
NP-Completeness NP-Completeness Graphs 12/3/2018 2:46 AM x x x x x x x
Intractable Problems Time-Bounded Turing Machines Classes P and NP
Chapter 34: NP-Completeness
Graphing Linear Relations and Functions
2-1: Graphing Linear Relations and Functions
Sequences and the Binomial Theorem
2-1: Graphing Linear Relations and Functions
2-1: Graphing Linear Relations and Functions
Graphing Linear Relations and Functions
Graphing Linear Relations and Functions
MinMax Principle in Game Theory – continued….
Presentation transcript:

Algorithms for hard problems Parse trees for graphs Juris Viksna, 2015

t-boundaried graphs [Adapted from R.Downey, M.Fellows]

t-boundaried graphs [Adapted from R.Downey, M.Fellows]

Gluing of t-boundaried graphs [Adapted from R.Downey, M.Fellows]

Gluing of t-boundaried graphs [Adapted from R.Downey, M.Fellows] Note about the notation: x refers to the 1st graph x  refers to the 2nd graph x refers to the resulting graph

Graph parsing operators for tw=2 [Adapted from R.Downey, M.Fellows]

Graph parsing operators for tw=2 [Adapted from R.Downey, M.Fellows] Comment It seems that gluing operator is additionally needed – otherwise not clear how to obtain even K 3. The tree also does not produce G – probably some b-s should actually be gluings and maybe there are some mistakes in argument order.

Graph parsing operators for tw=2 [Adapted from R.Downey, M.Fellows]

Graph parsing operators [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows] Basically the theorem tells us that there is a one-to-(many?) correspondence between graphs of treewidth t and trees produced by parsing operators of size t+1. More over, graph  tree correspondence is constructive and could be computed in linear time. Still, sometimes we might need to be a bit careful, since tree  graph correspondence is given up to graph isomorphism.

Parsing theorem [Adapted from R.Downey,M.Fellows]

Parsing theorem [Adapted from R.Downey,M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey,M.Fellows]

Parsing theorem [Adapted from R.Downey,M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

Parsing theorem [Adapted from R.Downey, M.Fellows]

“Small” and “Large” universes [Adapted from R.Downey, M.Fellows] Generally we will now be interested in properties of particular classes of t-boundaried graphs of treewidth t (we include the parse operator in definition to get boundary that can be “obtained” via parsing process). Sometimes this parsability may not matter for graphs of interest and we can consider simply the large universe of t-boundaried garphs.

Parsing replacement property [Adapted from R.Downey, M.Fellows]

Parsing replacement property [Adapted from R.Downey, M.Fellows]

Parsing replacement property [Adapted from R.Downey, M.Fellows]

Congruences and equivalences for graphs [Adapted from R.Downey, M.Fellows]

Finite state collections of parse graphs [Adapted from R.Downey, M.Fellows] So, we are already quite close to the generalization of FPT algorithms based on FA on strings :) Collection F is t-finite state, if parse trees for all graphs from F can be recognized by FTA. Thus, membership of F can be solved by construction of FTA (time f(k)) and running it on a given instance of graph (time O(n)).

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows] Thus, the main point is translation from graph congruences with finite index to finite state trees.

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows] Generally we will now be interested in properties of particular classes of t-boundaried graphs of treewidth t (we include the parse operator in definition to get boundary that can be “obtained” via parsing process). Sometimes this parsability may not matter for graphs of interest and we can consider simply the large universe of t-boundaried garphs.

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]