Combinatorics of colouring 3-regular trees

Slides:



Advertisements
Similar presentations
Cpt S 223 – Advanced Data Structures Graph Algorithms: Introduction
Advertisements

Comments We consider in this topic a large class of related problems that deal with proximity of points in the plane. We will: 1.Define some proximity.
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.
IKI 10100: Data Structures & Algorithms Ruli Manurung (acknowledgments to Denny & Ade Azurat) 1 Fasilkom UI Ruli Manurung (Fasilkom UI)IKI10100: Lecture10.
Graphs Graphs are the most general data structures we will study in this course. A graph is a more general version of connected nodes than the tree. Both.
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
Chapter 6: Transform and Conquer Trees, Red-Black Trees The Design and Analysis of Algorithms.
Chapter 10: Algorithm Design Techniques
Chapter 11: Limitations of Algorithmic Power
1 Internet Networking Spring 2002 Tutorial 6 Network Cost of Minimum Spanning Tree.
Backtracking Reading Material: Chapter 13, Sections 1, 2, 4, and 5.
The Design and Analysis of Algorithms
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
Hardness Results for Problems
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Programming & Data Structures
Directed graphs Definition. A directed graph (or digraph) is a pair (V, E), where V is a finite non-empty set of vertices, and E is a set of ordered pairs.
Trees. Introduction to Trees Trees are very common in computer science They come in different forms They are used as data representation in many applications.
AVL Trees Neil Ghani University of Strathclyde. General Trees Recall a tree is * A leaf storing an integer * A node storing a left subtree, an integer.
Rectlinear Block Packing Using the O-tree Representation Yingxin Pang Koen Lampaert Mindspeed Technologies Chung-Kuan Cheng University of California, San.
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
Lecture 38 CSE 331 Dec 2, Review Sessions etc. Atri: (at least ½ of) class next Friday Jiun-Jie: Extra office hour next Friday Jesse: Review Session.
Theory of Algorithms: Greedy Techniques James Gain and Edwin Blake {jgain | Department of Computer Science University of Cape Town.
Graphs and MSTs Sections 1.4 and 9.1. Partial-Order Relations Everybody is not related to everybody. Examples? Direct road connections between locations.
CSE 340: Review (at last!) Measuring The Complexity Complexity is a function of the size of the input O() Ω() Θ() Complexity Analysis “same order” Order.
Two Finger Caging of Concave Polygon Peam Pipattanasomporn Advisor: Attawith Sudsang.
David Stotts Computer Science Department UNC Chapel Hill.
1Computer Sciences Department. 2 Advanced Design and Analysis Techniques TUTORIAL 7.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Lecture 38 CSE 331 Dec 5, OHs today (only online 9:30-11)
ICS 353: Design and Analysis of Algorithms Backtracking King Fahd University of Petroleum & Minerals Information & Computer Science Department.
On the Ability of Graph Coloring Heuristics to Find Substructures in Social Networks David Chalupa By, Tejaswini Nallagatla.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
The NP class. NP-completeness
NP-Complete Problems.
Design and Analysis of Algorithms (09 Credits / 5 hours per week)
Algorithms for Finding Distance-Edge-Colorings of Graphs
Data Structures Lab Algorithm Animation.
The Design and Analysis of Algorithms
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
Induction and Recursion
Hamiltonian cycle part
Red-Black Trees Motivations
Introduction to Algorithms
Computability and Complexity
Design and Analysis of Algorithms (07 Credits / 4 hours per week)
Dissertation for the degree of Philosophiae Doctor (PhD)
Analysis and design of algorithm
ICS 353: Design and Analysis of Algorithms
Multi-Way Search Trees
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Graphs Chapter 13.
Computational Complexity
Threaded Binary Trees.
Data Structures and Algorithms
CS223 Advanced Data Structures and Algorithms
Chapter 6: Transform and Conquer
Connected Components, Directed Graphs, Topological Sort
Chapter 11 Limitations of Algorithm Power
Algorithms for Budget-Constrained Survivable Topology Design
CS223 Advanced Data Structures and Algorithms
Backtracking and Branch-and-Bound
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
ICS 353: Design and Analysis of Algorithms
INTRODUCTION TO ALOGORITHM DESIGN STRATEGIES
Department of Computer Science & Engineering
Presentation transcript:

Combinatorics of colouring 3-regular trees Paul Sant1 and Alan Gibbons2 1 Department of Computing and Information Systems, University of Luton 2 Department of Computer Science, King’s College, London

Overview Introduction – What is Colouring Pairs of Binary Trees (CPBT) ? Rotations and Colour constraining edges Optimal Linear-time algorithmics ? Conclusions

CPBT – Problem Definition Given any pair of same-sized 3-regular trees, T1 and T2, 3-edge colour T1 and T2 in such a way that edges adjacent to leaves (from left to right) are similarly coloured in T1 and T2 T1 T2 x1 x2 x3 x4 x5 y1 y2 y3 y4 y5 x6 y6

How to solve CPBT ? We have approached this in two ways (several papers:TCS, Texts in Algorithmics, LNCS):- Rotations coupled with colour-constrained edges A colouring topology approach This talk is concerned with the first of these approaches.

Rotations in binary trees Well known technique used for rebalancing Binary (particularly AVL) trees :- Any binary tree is transformable into any other using a sequence of rotations.

Colouring constrained edges The rotated edge is constrained to be the same colour as its grandparent :- It is easy to show that this condition is necessary to obtain a solution to CPBT.

A solution to CPBT An example of a sequence with no clashes (colouring requires O(n) time) As we will see, changing the rotational path slightly may cause a clash.

Shortest clashing path Example of a (shortest) clashing path :- The rotational space of binary tree is large finding a non-clashing path is still an open problem

Non-clashing paths The number of trees with n leaves is given by n-1th Catalan number – this is factorial in n. Therefore, finding non-clashing paths by exhaustive search is not an option for polynomial time algorithmics.

Shortest clashing paths For each n > 5 there is at least one pair of trees for which a shortest rotational path will lead to a clashing path :- { k-1 { k-1 { k-1 k-2 steps 5 steps

Longer paths However, we can solve all the problematic pairs previously discussed :- And we only require one extra rotation { k-1 { k-1 { k-1 k-2 steps 6 steps

Open problems How to find non-clashing paths ? Can we find such non-clashing paths quickly ? Conversely, can we prove that the problem is hard ?

Conclusions We postulate that the rotational approach can solve CPBT. A linear-time solution to finding non-clashing paths would lead to a linear-time solution to 4CP for planar graphs. Work on the problem continues…