Skip to main content
Log in

Obtaining Matrices with the Consecutive Ones Property by Row Deletions

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

A binary matrix \(M\) has the Consecutive Ones Property (COP) if there exists a permutation of columns that arranges the ones consecutively in all the rows. We consider the parameterized complexity of \(d\)-COS-R (Consecutive Ones Submatrix by Row deletions) problem [9]: Given a matrix \(M\) and a positive integer \(d\), decide whether there exists a set of at most \(d\) rows of \(M\) whose deletion results in a matrix with the COP. The closely related Interval Deletion problem has recently been shown to be FPT [6]. We show that \(d\)-COS-R is fixed-parameter tractable and has the current best run-time of \(O^*(10^d)\), which is associated with the Interval Deletion problem. We also introduce a closely related optimization problem called Min-ICPSA: For a finite sized universe \(\mathcal{U}\) the input consists of a family of \(n\) pairs of sets \(\mathcal{S} = \{(A_i,B_i) \mid A_i, B_i \subseteq \mathcal{U}, 1 \le i \le n\}\); the aim is to find a minimum number of pairs of sets to discard from \(\mathcal{S}\) such that for each one of the remaining pairs, say \((A_k,B_k), |A_k|=|B_k|\), and for any two of the remaining pairs, indexed by \(1 \le j \ne k \le n\), \(|A_j \cap A_k| = |B_j \cap B_k|\). We show that Min-ICPSA is computationally equivalent to the Vertex Cover problem. We also show that it is at least as hard as the Hamilton Path problem in undirected graphs, even when each \(|A_k|=2, 1 \le k \le n\).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Notes

  1. In parameterized results, \(O^*\) notation suppresses polynomial terms.

References

  1. Atkins, J.E., Boman, E.G., Hendrickson, B.: A spectral algorithm for seriation and the consecutive ones problem. SIAM J. Comput. 28(1), 297–310 (1988)

    Article  MathSciNet  Google Scholar 

  2. Atkins, J.E., Middendorf, M.: On physical mapping and the consecutive ones property for sparse matrices. Discrete Appl Math 71(1–3), 23–40 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  3. Blin, G., Rizzi, R., Vialette, S.: A faster algorithm for finding minimum tucker submatrices. Theory Comput. Syst. 51(3), 270–281 (2012)

    Article  MATH  MathSciNet  Google Scholar 

  4. Booth, K.S.: PQ-tree algorithms. Ph.D. thesis, Department of Electrical Engineering and Computer Science, University of California, Berkeley (1975)

  5. Booth, K.S., Lueker, G.S.: Testing for the consecutive ones property, interval graphs, and graph planarity using PQ-tree algorithms. J. Comput. Syst. Sci. 13(3), 335–379 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  6. Cao, Y., Marx, D.: Interval deletion is fixed-parameter tractable. In: Chekuri, C. (ed.) Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA. pp. 122–141. SIAM (2014)

  7. Chen, J., Kanj, I.A., Xia, G.: Improved upper bounds for vertex cover. Theor. Comput. Sci. 411(40–42), 3736–3756 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  8. Dom, M.: Recognition, generation, and application of binary matrices with the consecutive-ones property. Ph.D. thesis, Institut fur Informatik, Friedrich-Schiller-Universitat Jena, Germany, 2008, Published by Cuvillier (2010)

  9. Dom, M., Guo, J., Niedermeier, R.: Approximation and fixed-parameter algorithms for consecutive ones submatrix problems. J. Comput. Syst. Sci. 76(3–4), 204–221 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  10. Dourado, M.C., Protti, F., Szwarcfiter, J.L.: Computational aspects of the helly property: a survey. J. Braz. Comput. Soc. 12(1), 7–33 (2006)

  11. Fulkerson, D.R., Gross, O.A.: Incidence matrices and interval graphs. Pac. J. Math. 15(3), 835–855 (1965)

    Article  MATH  MathSciNet  Google Scholar 

  12. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman, London (1979)

    MATH  Google Scholar 

  13. Garey, M.R., Johnson, D.S., Stockmeyer, L.J.: Some simplified NP-Complete graph problems. Theor. Comput. Sci. 1(3), 237–267 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  14. Ghosh, S.P.: File organization: The consecutive retrieval property. Commun. ACM 15(9), 802–808 (1972)

    Article  MATH  Google Scholar 

  15. Golumbic, M.C.: Algorithmic graph theory and perfect graphs. Volume 57 of Annals of Discrete Mathematics. Elsevier B. V., 2nd edition (2004).

  16. Golumbic, M.C., Kaplan, H., Shamir, R.: On the complexity of DNA physical mapping. Adv. Appl. Math. 15, 251–261 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  17. Habib, M., McConnell, R.M., Paul, C., Viennot, L.: Lex-BFS and partition refinement, with applications to transitive orientation, interval graph recognition and consecutive ones testing. Theor. Comput. Sci. 234(1–2), 59–84 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  18. Hajiaghayi, M., Ganjali, Y.: A note on the consecutive ones submatrix problem. Inform. Process. Lett. 83(3), 163–166 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  19. Hochbaum, D.S.: Approximation Algorithms for NP-hard Problems. PWS Publishing Company, Boston (1997)

    Google Scholar 

  20. Hsu, W.L.: A simple test for the consecutive ones property. J. Algorithm. 43(1), 1–16 (2002)

    Article  MATH  Google Scholar 

  21. Hsu, W.L., McConnell, R.M.: PC-trees and circular-ones arrangements. Theor. Comput. Sci. 296(1), 99–116 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  22. Lewis, J.M., Yannakakis, M.: The node-deletion problem for hereditary properties is NP-complete. J. Comput. Syst. Sci. 20(2), 219–230 (1980)

  23. Lindzey, N., McConnell, R.M.: On finding tucker submatrices and lekkerkerker-boland subgraphs. In: Brandstädt, A., Jansen, K., Reischuk, R. (eds.) WG. Lecture Notes in Computer Science, vol. 8165, pp. 345–357. Springer, Berlin (2013)

    Google Scholar 

  24. McConnell, R.M.: A certifying algorithm for the consecutive-ones property. In: J. Ian Munro (ed.) Proceedings of the fifteenth annual ACM-SIAM symposium on Discrete algorithms, SODA. pp. 768–777 (2004)

  25. Meidanis, J., Porto, O., Telles, G.P.: On the consecutive ones property. Discrete Appl. Math. 88(1–3), 325–354 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  26. Narayansaswamy, N.S., Subashini, R.: A new characterization of matrices with the consecutive ones property. Discrete Appl. Math. 157(18), 3721–3727 (2009)

    Article  MathSciNet  Google Scholar 

  27. Narayansaswamy, N.S., Subashini, R.: FPT algorithms for consecutive ones submatrix problems. In: Gutin, Gregory, Szeider, Stefan (eds.) IPEC. Lecture Notes in Computer Science, vol. 8246, pp. 295–307. Springer, Berlin (2013)

    Google Scholar 

  28. Raffinot, M.: Consecutive ones property testing: cut or swap. In: Löwe, B., Normann, D., Soskov, I.N., Soskova, A.A. (eds.) CiE. Lecture Notes in Computer Science, vol. 6735, pp. 239–249. Springer, Berlin (2011)

    Google Scholar 

  29. Robinson, W.S.: A method for chronologically ordering archaeological deposits. Am. Antiq. 16(4), 293–301 (1951)

    Article  Google Scholar 

  30. Khot, S., Regev, O.: Vertex cover might be hard to approximate to within 2-epsilon. J. Comput. Syst. Sci. 74(3), 335–349 (2008)

    Article  MATH  MathSciNet  Google Scholar 

  31. Tan, J., Zhang, L.: The consecutive ones submatrix problem for sparse matrices. Algorithmica 48(3), 287–299 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  32. Tucker, A.C.: A structure theorem for the consecutive ones property. Journal of Combinatorial Theory. Series B 12, 153–162 (1972)

    Article  MATH  MathSciNet  Google Scholar 

  33. Wang, R., Lau, F.C.M., Zhao, Y.C.: Hamiltonicity of regular graphs and blocks of consecutive ones in symmetric matrices. Discrete Appl. Math. 155(17), 2312–2320 (2007)

    Article  MATH  MathSciNet  Google Scholar 

  34. West, D.B.: Introduction to graph theory. Second edition, Prentice Hall (2001)

Download references

Acknowledgments

The second author would like to thank R. Krithika, Sajin Koroth and G. Ramakrishna for many discussions on the topic. We are also very grateful to anonymous reviewers for many remarks which have increased the overall quality of the paper and its presentation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to N. S. Narayanaswamy.

Additional information

Supported by the Indo-German Max Planck Centre for Computer Science Programme in the area of Algebraic and Parameterized Complexity for the year 2012–2013.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Narayanaswamy, N.S., Subashini, R. Obtaining Matrices with the Consecutive Ones Property by Row Deletions. Algorithmica 71, 758–773 (2015). https://doi.org/10.1007/s00453-014-9925-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-014-9925-1

Keywords