Efficient Computation of Representative Families with Applications in Parameterized and Exact Algorithms

Let M=(E, I) be a matroid and let S={S1, ċ , St} be a family of subsets of E of size p. A subfamily Ŝ ⊆ S is q-representative for S if for every set Y⊆E of size at most q, if there is a set X ∈ S disjoint from Y with X∪ Y ∈ I, then there is a set Xˆ ∈ Ŝ disjoint from Y with Xˆ ∪ Y ∈ I. By the classic result of Bollobás, in a uniform matroid, every family of sets of size p has a q-representative family with at most (p+qp) sets. In his famous “two families theorem” from 1977, Lovász proved that the same bound also holds for any matroid representable over a field F. We give an efficient construction of a q-representative family of size at most (p+qp) in time bounded by a polynomial in (p+qp), t, and the time required for field operations. We demonstrate how the efficient construction of representative families can be a powerful tool for designing single-exponential parameterized and exact exponential time algorithms. The applications of our approach include the following: —In the Long Directed Cycle problem, the input is a directed n-vertex graph G and the positive integer k. The task is to find a directed cycle of length at least k in G, if such a cycle exists. As a consequence of our 6.75k+o(k)nO(1) time algorithm, we have that a directed cycle of length at least log n, if such a cycle exists, can be found in polynomial time. —In the Minimum Equivalent Graph (MEG) problem, we are seeking a spanning subdigraph D′ of a given n-vertex digraph D with as few arcs as possible in which the reachability relation is the same as in the original digraph D. —We provide an alternative proof of the recent results for algorithms on graphs of bounded treewidth showing that many “connectivity” problems such as Hamiltonian Cycle or Steiner Tree can be solved in time 2O(t)n on n-vertex graphs of treewidth at most t. For the special case of uniform matroids on n elements, we give a faster algorithm to compute a representative family. We use this algorithm to provide the fastest known deterministic parameterized algorithms for k-Path, k-Tree, and, more generally, k-Subgraph Isomorphism, where the k-vertex pattern graph is of constant treewidth.

[1]  Omid Amini,et al.  Counting Subgraphs via Homomorphisms , 2009, SIAM J. Discret. Math..

[2]  Andreas Björklund,et al.  Narrow sieves for parameterized paths and packings , 2010, J. Comput. Syst. Sci..

[3]  Ron Y. Pinter,et al.  Deterministic Parameterized Algorithms for the Graph Motif Problem , 2014, MFCS.

[4]  Bernd Voigt,et al.  Finding Minimally Weighted Subgraphs , 1991, WG.

[5]  Fenghui Zhang,et al.  Randomized Divide-and-Conquer: Improved Path, Matching, and Packing Algorithms , 2009 .

[6]  Sanjeev Khanna,et al.  Approximating Longest Directed Paths and Cycles , 2004, ICALP.

[7]  Hans L. Bodlaender,et al.  On Linear Time Minor Tests with Depth-First Search , 1993, J. Algorithms.

[8]  Michal Pilipczuk,et al.  Parameterized Algorithms , 2015, Springer International Publishing.

[9]  B. Monien How to Find Long Paths Efficiently , 1985 .

[10]  Fahad Panolan,et al.  Faster Deterministic Algorithms for r-Dimensional Matching Using Representative Sets , 2013, FSTTCS.

[11]  N. S. Barnett,et al.  Private communication , 1969 .

[12]  Fedor V. Fomin,et al.  Faster algorithms for finding and counting subgraphs , 2009, J. Comput. Syst. Sci..

[13]  Kazuo Murota,et al.  Matrices and Matroids for Systems Analysis , 2000 .

[14]  Jianer Chen,et al.  Improved algorithms for path, matching, and packing problems , 2007, SODA '07.

[15]  Thomas H. Cormen,et al.  Introduction to algorithms [2nd ed.] , 2001 .

[16]  Ioannis Koutis,et al.  Faster Algebraic Algorithms for Path and Packing Problems , 2008, ICALP.

[17]  Stefan Kratsch,et al.  Deterministic Single Exponential Time Algorithms for Connectivity Problems Parameterized by Treewidth , 2013, ICALP.

[18]  Fedor V. Fomin,et al.  Exact exponential algorithms , 2013, CACM.

[19]  Nader H. Bshouty,et al.  On Exact Learning Monotone DNF from Membership Queries , 2014, ALT.

[20]  Fedor V. Fomin,et al.  Efficient Computation of Representative Sets with Applications in Parameterized and Exact Algorithms , 2013, SODA.

[21]  Ryan Williams,et al.  LIMITS and Applications of Group Algebras for Parameterized Problems , 2009, ACM Trans. Algorithms.

[22]  Russell Impagliazzo,et al.  Which problems have strongly exponential complexity? , 1998, Proceedings 39th Annual Symposium on Foundations of Computer Science (Cat. No.98CB36280).

[23]  Mihalis Yannakakis,et al.  On limited nondeterminism and the complexity of the V-C dimension , 1993, [1993] Proceedings of the Eigth Annual Structure in Complexity Theory Conference.

[24]  Gerald L. Thompson,et al.  An Algorithm for Finding a Minimum Equivalent Graph of a Digraph , 1969, J. ACM.

[25]  Mam Riess Jones Color Coding , 1962, Human factors.

[26]  Ryan Williams,et al.  Finding paths of length k in O*(2k) time , 2008, Inf. Process. Lett..

[27]  Nader H. Bshouty,et al.  Linear Time Constructions of Some d -Restriction Problems , 2014, CIAC.

[28]  Fahad Panolan,et al.  Editing to Connected f-Degree Graph , 2016, STACS.

[29]  Virginia Vassilevska Williams,et al.  Multiplying matrices faster than coppersmith-winograd , 2012, STOC '12.

[30]  Ton Kloks Treewidth, Computations and Approximations , 1994, Lecture Notes in Computer Science.

[31]  Stefan Kratsch,et al.  Representative Sets and Irrelevant Vertices: New Tools for Kernelization , 2011, 2012 IEEE 53rd Annual Symposium on Foundations of Computer Science.

[32]  Michal Pilipczuk,et al.  Fast Algorithms for Parameterized Problems with Relaxed Disjointness Constraints , 2014, ESA.

[33]  J. Hopcroft,et al.  Triangular Factorization and Inversion by Fast Matrix Multiplication , 1974 .

[34]  Michael R. Fellows,et al.  Parameterized Complexity , 1998 .

[35]  Ryan Williams,et al.  Algebraic fingerprints for faster algorithms , 2015, Commun. ACM.

[36]  Ronald L. Rivest,et al.  Introduction to Algorithms , 1990 .

[37]  Silvano Martello An algorithm for finding a minimal equivalent graph of a strongly connected digraph , 2005, Computing.

[38]  Harry T. Hsu,et al.  An Algorithm for Finding a Minimal Equivalent Graph of a Digraph , 1975, JACM.

[39]  Stefan Kratsch,et al.  Solving weighted and counting variants of connectivity problems parameterized by treewidth deterministically in single exponential time , 2012, ArXiv.

[40]  Fahad Panolan,et al.  Finding Even Subgraphs Even Faster , 2014, FSTTCS.

[41]  Meirav Zehavi Mixing Color Coding-Related Techniques , 2015, ESA.

[42]  Joachim Kneis,et al.  Divide-and-Color , 2006, WG.

[43]  Dániel Marx,et al.  A parameterized view on matroid optimization problems , 2009, Theor. Comput. Sci..

[44]  Harold N. Gabow,et al.  Finding a long directed cycle , 2004, SODA '04.

[45]  Petr A. Golovach,et al.  Long Circuits and Large Euler Subgraphs , 2013, ESA.

[46]  James G. Oxley,et al.  Matroid theory , 1992 .

[47]  Fahad Panolan,et al.  Representative Sets of Product Families , 2014, ESA.

[48]  Fedor V. Fomin,et al.  Algorithm for finding k-vertex out-trees and its application to k-internal out-branching problem , 2009, J. Comput. Syst. Sci..

[49]  B. Bollobás On generalized graphs , 1965 .

[50]  Fahad Panolan,et al.  Deterministic Truncation of Linear Matroids , 2014, ICALP.

[51]  Thomas Zichner,et al.  Algorithm Engineering for Color-Coding with Applications to Signaling Pathway Detection , 2008, Algorithmica.

[52]  Hadas Shachnai,et al.  Parameterized Algorithms for Graph Partitioning Problems , 2016, Theory of Computing Systems.

[53]  Eli Upfal,et al.  Probability and Computing: Randomized Algorithms and Probabilistic Analysis , 2005 .

[54]  Hadas Shachnai,et al.  Representative families: A unified tradeoff-based approach , 2014, J. Comput. Syst. Sci..

[55]  P. FRANKL,et al.  An Extremal Problem for two Families of Sets , 1982, Eur. J. Comb..

[56]  Dániel Marx,et al.  Parameterized coloring problems on chordal graphs , 2004, Theor. Comput. Sci..

[57]  Aravind Srinivasan,et al.  Splitters and near-optimal derandomization , 1995, Proceedings of IEEE 36th Annual Foundations of Computer Science.

[58]  S. Martello,et al.  Finding a minimum equivalent graph of a digraph , 1982, Networks.

[59]  Michal Pilipczuk,et al.  Solving Connectivity Problems Parameterized by Treewidth in Single Exponential Time , 2011, 2011 IEEE 52nd Annual Symposium on Foundations of Computer Science.

[60]  Stasys Jukna,et al.  Extremal Combinatorics , 2001, Texts in Theoretical Computer Science. An EATCS Series.