Interval Graph Test Wen-Lian Hsu.

Slides:



Advertisements
Similar presentations
Covers, Dominations, Independent Sets and Matchings AmirHossein Bayegan Amirkabir University of Technology.
Advertisements

Interval Graph Test.
Chapter 8 Topics in Graph Theory
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Bayesian Networks, Winter Yoav Haimovitch & Ariel Raviv 1.
Convex drawing chapter 5 Ingeborg Groeneweg. Summery What is convex drawing What is convex drawing Some definitions Some definitions Testing convexity.
1/44 A simple Test For the Consecutive Ones Property.
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.
Introduction to Line Graphs Emphasizing their construction, clique decompositions, and regularity.
Junction Trees: Motivation Standard algorithms (e.g., variable elimination) are inefficient if the undirected graph underlying the Bayes Net contains cycles.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set S  V(G) such that G-S has more than one component. a b c d e f g h i.
Mycielski’s Construction Mycielski’s Construction: From a simple graph G, Mycielski’s Construction produces a simple graph G’ containing G. Beginning with.
Perfect Graphs Lecture 23: Apr 17. Hard Optimization Problems Independent set Clique Colouring Clique cover Hard to approximate within a factor of coding.
Definition Hamiltonian graph: A graph with a spanning cycle (also called a Hamiltonian cycle). Hamiltonian graph Hamiltonian cycle.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that S has more than one component. Connectivity of G ((G)): The.
Learning Equivalence Classes of Bayesian-Network Structures David M. Chickering Presented by Dmitry Zinenko.
1 Separator Theorems for Planar Graphs Presented by Shira Zucker.
Graph Theory Ch.5. Coloring of Graphs 1 Chapter 5 Coloring of Graphs.
ARCHEOLOGICAL SERIATION AND INTERVAL GRAPHS
Lecture 11. Matching A set of edges which do not share a vertex is a matching. Application: Wireless Networks may consist of nodes with single radios,
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that G-S has more than one component. d f b e a g c i h.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Circle Graph and Circular Arc Graph Recognition. 2/41 Outlines Circle Graph Recognition Circular-Arc Graph Recognition.
Distance Approximating Trees in Graphs
Minimal Spanning Trees What is a minimal spanning tree (MST) and how to find one.
Simple Efficient Algorithm for MPQ-tree of an Interval Graph Toshiki SAITOH Masashi KIYOMI Ryuhei UEHARA Japan Advanced Institute of Science and Technology.
Perfect Gaussian Elimination and Chordality By Shashank Rao.
Modular Decomposition and Interval Graphs recognition Speaker: Asaf Shapira.
Graphbots: Mobility in Discrete Spaces. 2001, שרון להב סמינר 5 במדעי המחשב (236805)Graphbots - 2 Mobility in Discrete Spaces Move beyond robots with simple.
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
The Turán number of sparse spanning graphs Raphael Yuster joint work with Noga Alon Banff 2012.
Characterizing Matrices with Consecutive Ones Property
On Leaf Powers Andreas Brandstädt University of Rostock, Germany (joint work with Van Bang Le, Peter Wagner, Christian Hundt, and R. Sritharan)
Introduction to Planarity Test W. L. Hsu. Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect A plane graph.
Mycielski’s Construction Mycielski’s Construction: From a simple graph G, Mycielski’s Construction produces a simple graph G’ containing G. Beginning with.
Memory Allocation of Multi programming using Permutation Graph By Bhavani Duggineni.
Introduction to Graph Theory
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Chapter 5 Coloring of Graphs. 5.1 Vertex Coloring and Upper Bound Definition: A k-coloring of a graph G is a labeling f:V(G)  S, where |S|=k (or S=[k]).
A Unified View of Graph Searching
Twenty Years of EPT Graphs: From Haifa to Rostock Martin Charles Golumbic Caesarea Rothschild Institute University of Haifa With thanks to my research.
10. Lecture WS 2014/15 Bioinformatics III1 V10 Metabolic networks - Graph connectivity Graph connectivity is related to analyzing biological networks for.
Connectivity and Paths 報告人:林清池. Connectivity A separating set of a graph G is a set such that G-S has more than one component. The connectivity of G,
Computing Branchwidth via Efficient Triangulations and Blocks Authors: F.V. Fomin, F. Mazoit, I. Todinca Presented by: Elif Kolotoglu, ISE, Texas A&M University.
CSE 421 Algorithms Richard Anderson Winter 2009 Lecture 5.
S&H Planarity Test Based on PC-Trees Wen-Lian Hsu.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
1 Assignment #3 is posted: Due Thursday Nov. 15 at the beginning of class. Make sure you are also working on your projects. Come see me if you are unsure.
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.
CSE 421 Algorithms Richard Anderson Autumn 2015 Lecture 5.
1/44 A simple Test For the Consecutive Ones Property Without PC-trees!
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.
Trees.
An introduction to chordal graphs and clique trees
Minimum Spanning Tree 8/7/2018 4:26 AM
PC trees and Circular One Arrangements
Planarity Testing.
A Unified View of Graph Searching
V17 Metabolic networks - Graph connectivity
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.
V11 Metabolic networks - Graph connectivity
On (k,l)-Leaf Powers Peter Wagner University of Rostock, Germany
5.4 T-joins and Postman Problems
Miniconference on the Mathematics of Computation
V11 Metabolic networks - Graph connectivity
V11 Metabolic networks - Graph connectivity
Presentation transcript:

Interval Graph Test Wen-Lian Hsu

Chordal Graphs A chord of a cycle C is an edge not in C whose endpoints lie in C A chordless cycle in G is a cycle of length at least 4 in G that has no chord A graph G is chordal if it is simple and has no chordless cycle

Perfect Elimination Ordering (PEO) A vertex of G is simplicial if its neighborhood in G is a clique A perfect (simplicial) elimination ordering is an ordering v1 , …, vn–1, vn for deletion of vertices so that each vi is a simplicial vertex of the remaining graph induced by {vi, …, vn-1, vn}

Perfect Elimination Ordering v4 v5 v6 v1 v2 v3 v1, v2, v3, v4, v5, v6 is a perfect elimination ordering

Characterization of Chordal Graphs A graph is chordal  it has a perfect elimination ordering

Lexicographic BFS (LBFS) LBFS is used to obtain a perfect elimination ordering for chordal graphs vn vn-1 vn

LBFS and PEO Theorem. If G is a chordal graph, then LBFS will produce a PEO. Let the ordering produced by LBFS be O The neighbors of u ordered after u form a clique

The Interval Graph Models 1 2 2 5 3 3 1 4 5 4 Each vertex represent a clone, each edge represent overlap information between clones If there is no error in the clone overlap information , then one can use the interval graph recognition algorithm to reassemble clones together

Interval Graph Recognition Booth & Lueker [1976] linear time, on-line made use of a data structure called PQ-trees Hsu [1992], Hsu and Ma [1999] decomposition, off-line did not use PQ-trees

Strictly Adjacent vertices Vertices u and v are strictly adjacent if they are adjacent, but each has a neighbor not adjacent to the other. Define the ST-subgraph G’ to contain those strictly adjacent edges only.

The corresponding interval graph The ST-subgraph G’ 3 5 7 6 4 2 1 8 Interval model 1 3 5 7 2 6 4 G 8 The corresponding interval graph 1 3 5 7 2 6 4 G’ 8 The ST-subgraph G’

G’ and the Skeleton Components 1 3 5 7 2 6 4 G’ 8 The ST-subgraph G’ 1 3 4 8 simplicial vertex skeleton component containment 5 7 2 6 The Hass diagram of the containment relationships

Decomposition for Interval Graphs 1 3 5 7 2 6 4 G 8 The interval graph 3 1 4 N 5 6 2 7 8 1 3 5 7 2 6 4 G’ 8 The ST-subgraph G’ The decomposition tree

Computing a Special Subgraph G” Determine, for each adjacent pair in G, whether they are strictly adjacent in G can take O(nm) time We shall spend O(m) time to find a special subgraph G” of G’. Use cardinality lexicographic ordering (CLO), which is a lexicographic ordering that breaks ties in favor of the vertex with the maximum degree

The Special Edge Set E” Let D be the set of non-simplicial vertices. Let O be a CLO of G. Let f(u) be the smallest neighbor of u in D. O(f(u)) < O(u) since u is not simplicial Define E” = { (u,v) | u, v in D, O(u) < O(v), and f(u) is not a neighbor of v} E” is a subset of E The components of G” are identical to those of G’

The Recognition Algorithm Compute a CLO for G. If G is not chordal, stop. Otherwise, construct G”. Based on the components of G”, compose a decomposition tree of G’. Check if each prime component is an interval graph

The Left-Right Block Sequence

Constructing an Interval Model for a Prime Graph

Constructing a unique Interval Model for a Prime Graph Find a BFS tree in G”. Let the vertices be ordered as u1, u2, …, un. Place u1, u2 first. For every new interval placed, find its relative position w.r.t. u1 u1 f(u1) u2 Place the remaining ST-neighbors of u1 one by one. Let ui be the next node. (i) (f(u1), ui )  E u1 f(u1) u2 ui

Stage 1: Place the neighbors of u1 (f(u1), ui )  E (assume neither ui nor u2 contain the other) Since (ui , u1)  E’’, we must have (f(ui), u1 )  E. u1 f(u1) u2 So we have (f(ui), u2 )  E ui f(ui) Or (f(ui), u2 )  E u1 f(u1) u2 f(ui) ui

Stage 2: Place the remaining nodes of D (I) Let uk be the next node to be placed, which is not a neighbor of u1. Let uj be its parent in the BFS tree and ui be the parent of uj. Based on the adjacent relationships of ui, uj, and uk, we shall determine which endpoint of interval uj is contained in uk OR ui uj uk ui uj uk Whether ui and uk are on the same side of uj

Stage 2: Place the remaining nodes of D (II) ui (i) (ui, uk )  E uj uk (ii) (ui, uk )  E. Since (ui, uk )  E” , We must have (f(ui), uk ), (f(uk), ui )  E. We show that ui and uk are on the same side of uj ui uj f(ui) uk Case 1. (f(ui), uj )  E f(uk) uj uk Case 2. (f(uk), uj )  E ui ui uj uk Case 3. (f(uj), uk )  E f(uj)

Stage 3: Place the remaining simplicial nodes (I) It is likely for the simplicial intervals to refine the blocks For each endpoint block scanned, let Q be the set of all intervals whose left endpoints have already been scanned, but whose right endpoints have not been.

Stage 3: Place the remaining simplicial nodes (II) Let BL* be the first left block s.t. after its scanning, all neighbors N(u) of a simplicial node u have its left endpoints scanned If, before scanning BL* , |Q| = # of N(u) scanned, then insert the interval of u into BL* Otherwise, insert the interval of u after the first right block BR* s.t. |Q| = |N(u)|. BL* BR*