Characterizing Matrices with Consecutive Ones Property

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Interval Graph Test.
Graph Isomorphism Algorithms and networks. Graph Isomorphism 2 Today Graph isomorphism: definition Complexity: isomorphism completeness The refinement.
Mining Graphs.
FUNDAMENTAL PROBLEMS AND ALGORITHMS Graph Theory and Combinational © Giovanni De Micheli Stanford University.
Rajat K. Pal. Chapter 3 Emran Chowdhury # P Presented by.
Applied Discrete Mathematics Week 12: Trees
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
ARCHEOLOGICAL SERIATION AND INTERVAL GRAPHS
Important Problem Types and Fundamental Data Structures
1 Entropy Waves, The Zigzag Graph Product, and New Constant-Degree Expanders Omer Reingold Salil Vadhan Avi Wigderson Lecturer: Oded Levy.
Physical Mapping of DNA Shanna Terry March 2, 2004.
MAPS OF DNA AND INTERVAL GRAPHS by Akshita Gurram.
A Test for the Consecutive Ones Property 1/39. Outline Consecutive ones property PQ-trees Template operations Complexity Analysis –The most time consuming.
Perfect Gaussian Elimination and Chordality By Shashank Rao.
Modular Decomposition and Interval Graphs recognition Speaker: Asaf Shapira.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Characterizing Matrices with Consecutive Ones Property
October 9, 2003Lecture 11: Motion Planning Motion Planning Piotr Indyk.
Based on slides by Y. Peng University of Maryland
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.
Ch.6 Phylogenetic Trees 2 Contents Phylogenetic Trees Character State Matrix Perfect Phylogeny Binary Character States Two Characters Distance Matrix.
Data Structures & Algorithms Graphs
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
Graphs A graphs is an abstract representation of a set of objects, called vertices or nodes, where some pairs of the objects are connected by links, called.
Flow in Network. Graph, oriented graph, network A graph G =(V, E) is specified by a non empty set of nodes V and a set of edges E such that each edge.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
PC-Trees & PQ-Trees. 2 Table of contents Review of PQ-trees –Template operations Introducing PC-trees The PC-tree algorithm –Terminal nodes –Splitting.
Graphs Basic properties.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Great Theoretical Ideas in Computer Science for Some.
PC-Trees vs. PQ-Trees. 2 Table of contents Review of PQ-trees –Template operations Introducing PC-trees The PC-tree algorithm –Terminal nodes –Splitting.
Interval Graph Test Wen-Lian Hsu.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
1/44 A simple Test For the Consecutive Ones Property Without PC-trees!
An Algorithm for the Consecutive Ones Property Claudio Eccher.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Paths and circuits.
Maryam Pourebadi Kent State University April 2016.
PC-Trees Based on a paper by Hsu and McConnell. Talk Outline We Define the consecutive ones and circular ones problems We show PQ Trees – the traditional.
PC-Trees & PQ-Trees. 2 Table of contents Review of PQ-trees –Template operations Introducing PC-trees The PC-tree algorithm –Terminal nodes –Splitting.
Relations and Their Properties
Introduction to Algorithms
Breadth-First Search (BFS)
More NP-complete problems
Part 3 Linear Programming
Applied Discrete Mathematics Week 14: Trees
Chapter 22 Elementary Graph Algorithms
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Advanced Algorithms Analysis and Design
Decision trees Polynomial-Time
The minimum cost flow problem
Graph Theory and Algorithm 01
PC trees and Circular One Arrangements
Algorithms and networks
Greedy Algorithms / Interval Scheduling Yin Tat Lee
CS120 Graphs.
Structural graph parameters Part 2: A hierarchy of parameters
Based on slides by Y. Peng University of Maryland
A Unified View of Graph Searching
Part 3 Linear Programming
Algorithms and networks
Lecture 13 CSE 331 Oct 1, 2012.
Connected Components, Directed Graphs, Topological Sort
Lecture 12 CSE 331 Sep 26, 2011.
Part 3 Linear Programming
Important Problem Types and Fundamental Data Structures
Richard Anderson Lecture 5 Graph Theory
Based on slides by Y. Peng University of Maryland
EMIS 8374 Search Algorithms Updated 12 February 2008
Presentation transcript:

Characterizing Matrices with Consecutive Ones Property N.S. Narayanaswamy, IIT Madras (Joint work with R. Subashini, IITM)

The Problem Does a given 0-1 Matrix have the Consecutive Ones Property Permute the rows such that the ones in each column occur consecutively Application Maximal Clique-Vertex incidence matrix Interval graph characterization Characterizing cubic Hamiltonian graphs Databases and Computational Biology

Status Poly time solvable - forbidden matrix configurations - Tucker Fulkerson and Gross forbidden matrix configurations - Tucker View the matrix as a maximal clique-vertex incidence matrix Asteroidal triple Induced cycles larger than K3 Linear time algorithm- Booth and Leuker Running time of O(m+n+#non-zero entries)

CoT Trees PQ-trees L-R order yields one permutation Leaves are the rows Internal nodes are P and Q nodes P node - all permutations of its children yields a valid permutation Q node - exactly two permutations permitted Algorithm outputs a PQ-tree only if the matrix has the COP Addressed by PQR trees

Permutations and Intervals A feasible permutation of rows yields an interval assignment to the columns Length of the interval is the number of ones in the column Intersection cardinality of a pair of intervals is the number of rows in which a 1 occurs in both the corresponding columns Does such an assignment imply a feasible permutation?

Preserving intersection cardinalities is sufficient Sort the intervals in increasing order of left end point and break ties using the right end points Discard identical columns Consider (P1,Q1) Pi row indices in i-th column Qi is the interval assigned to the i-th column Encodes all permutations in which Pi is mapped to Qi

Refining the set of permutations Iteratively filter the current set of permutations Using strictly intersecting pairs Pair of intersecting intervals, neither contained in the other

Invariants Q is an interval for each (P,Q). |P|=|Q| for each (P,Q) For any two (P',Q'), (P'',Q''), |P'P''|=|Q'  Q''|. At the end no interval is strictly intersecting with another interval Either disjoint or contained.

Completing the refinement The set of (P,Q) yields a natural containment tree

Consequence Given an interval assignment Proof uses We have a data structure that encodes all permutations which yield this interval assignment Proof uses Helly property for intervals For any 3 mutually intersecting intervals one is contained in the union of the other two. Intersection cardinality preserved

Finding good interval assignments For a set of proper intervals and its flipping the intersection graph are isomorphic- [1,8],[5,10],[2,7] is isomorphic to [1,6],[3,10],[4,9] Intuition To assign intervals to a set system, there are only two choices and these will be decided at the first step.

An ordering of the sets First set Next Set (iteratively) A set such that all those sets which intersect it have a pair-wise non-empty intersection - candidate for the leftmost interval Next Set (iteratively) One that has a strict intersection with one of the chosen sets.

Assigning the Intervals First Set-Left most interval Second set - has strict intersection with first set. So two interval choices Next set (iteratively)-has strict intersection with some interval Exactly one choice of interval, given intersection cardinality constraints Failure implies no feasible interval assignment Linear time in the number of sets, but computing intersection is costly

Sets left out Do not have a strict overlap with the sets considered Disjoint Contained Two distinct sets are related if they have a strict overlap Consider connected components in this undirected graph

On the components Each component is a sub-matrix formed by the columns Two components are either Disjoint Or all the sets in one are contained in a single set of the other. An interval assignment to each component implies an interval assignment to the whole set system

Putting the interval assignments together Given that an interval assignment to each of the components is feasible. Containment tree/forest on the components An arc between vertices corresponding to two components if the sets of one are all contained in one set of the other Construct the interval assignment in a BFS fashion starting from the root of each tree

Comments Can test if rows can be permuted Recent thoughts so that columns are sorted 1s occur in a circular fashion Recent thoughts Solves an isomorphism problem to a target class of matrices in which 1s in each column are consecutive NP-hard when 1s are in at most 3 consecutive regions.