Skip to main content
Log in

Space-efficient algorithms for maximum cardinality search, its applications, and variants of BFS

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

Following the recent trends of designing space efficient algorithms for fundamental algorithmic graph problems, we present several time-space tradeoffs for performing maximum cardinality search (MCS), stack breadth first search, and queue breadth first search on a given input graph. As applications of these results, we also provide space-efficient implementations for testing if a given undirected graph is chordal, reporting an independent set, and a proper coloring of a given chordal graph among others. Finally, we also show how two other seemingly different graph problems and their algorithms have surprising connection with MCS with respect to designing space efficient algorithms.

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
Fig. 2

Similar content being viewed by others

Notes

  1. We use \(\lg \) to denote logarithm to the base 2.

References

  • Arora S, Barak B (2009) Computational complexity: a modern approach. Cambridge University Press, Cambridge

    Book  MATH  Google Scholar 

  • Asano T, Buchin K, Buchin M, Korman M, Mulzer W, Rote G, Schulz A (2014) Reprint of: memory-constrained algorithms for simple polygons. Comput Geom 47(3):469–479

    Article  MathSciNet  MATH  Google Scholar 

  • Asano T, Izumi T, Kiyomi M, Konagaya M, Ono H, Otachi Y, Schweitzer P, Tarui J, Uehara R (2014) Depth-first search using \(\text{O}(n)\) bits. In: 25th ISAAC, pp. 553–564

  • Banerjee N, Chakraborty S, Raman V (2016) Improved space efficient algorithms for BFS, DFS and applications. In: 22nd COCOON (LNCS), vol 9797. Springer, pp 119–130

  • Banerjee N, Chakraborty S, Raman V, Roy S, Saurabh S (2015) Time-space tradeoffs for dynamic programming in trees and bounded treewidth graphs. In 21st COCOON (LNCS), vol 9198. Springer, pp 349–360

  • Banerjee N, Chakraborty S, Raman V, Satti SR (2018) Space efficient linear time algorithms for BFS, DFS and applications. Theory Comput Syst

  • Barnes G, Buss J, Ruzzo W, Schieber B (1998) A sublinear space, polynomial time algorithm for directed s-t connectivity. SICOMP 27(5):1273–1282

    Article  MathSciNet  MATH  Google Scholar 

  • Batagelj V, Zaversnik M (2003) An \(\text{ O }(m)\) algorithm for cores decomposition of networks. CoRR. arXiv preprint cs.DS/0310049

  • Berry A, Krueger R, Simonet G (2009) Maximal label search algorithms to compute perfect and minimal elimination orderings. SIAM J Discrete Math 23(1):428–446

    Article  MathSciNet  MATH  Google Scholar 

  • Chakraborty S, Jo S, Satti SR (2017) Improved space-efficient linear time algorithms for some classical graph problems. In: 15th CTW

  • Chakraborty S, Raman V, Satti SR (2016) Biconnectivity, chain decomposition and st-numbering using \(\text{ O }(n)\) bits. In: 27th ISAAC (LIPIcs), vol 64, pp 22:1–22:13. Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik

  • Chakraborty S, Raman V, Satti SR (2017) Biconnectivity, st-numbering and other applications of DFS using \(\text{ O }(n)\) bits. J Comput Syst Sci 90:63–79

    Article  MathSciNet  MATH  Google Scholar 

  • Chakraborty S, Satti SR (2017) Space-efficient algorithms for maximum cardinality search, stack BFS, queue BFS and applications. In: 23rd COCOON, pp 87–98

  • Darwish O, Elmasry A (2014) Optimal time-space tradeoff for the 2d convex-hull problem. In: 22th ESA, pp 284–295

  • Edmonds J, Poon CK, Achlioptas D (1999) Tight lower bounds for st-connectivity on the NNJAG model. SIAM J Comput 28(6):2257–2284

    Article  MathSciNet  MATH  Google Scholar 

  • Fulkerson DR, Gross OA (1965) Incidence matrices and interval graphs. Pac J Math 15:835–855

    Article  MathSciNet  MATH  Google Scholar 

  • Golumbic MC (2004) Algorithmic graph theory and perfect graphs. Elsevier, Amsterdam

    MATH  Google Scholar 

  • Greenlaw R (1992) A model classifying algorithms as inherently sequential with applications to graph searching. Inf Comput 97(2):133–149

    Article  MathSciNet  MATH  Google Scholar 

  • Krueger R, Simonet G, Berry A (2011) A general label search to investigate classical graph search algorithms. Discrete Appl Math 159(2–3):128–142

    Article  MathSciNet  MATH  Google Scholar 

  • Munro JI (1996) Tables. In: FSTTCS, pp 37–42

  • Munro JI, Paterson M (1980) Selection and sorting with limited storage. Theor Comput Sci 12:315–323

    Article  MathSciNet  MATH  Google Scholar 

  • Panda BS (1996) New linear time algorithms for generating perfect elimination orderings of chordal graphs. Inf Process Lett 58(3):111–115

    Article  MathSciNet  MATH  Google Scholar 

  • Reingold O (2008) Undirected connectivity in log-space. J ACM 55(4):17

    Article  MathSciNet  MATH  Google Scholar 

  • Rose DJ, Tarjan RE, Lueker GS (1976) Algorithmic aspects of vertex elimination on graphs. SIAM J Comput 5(2):266–283

    Article  MathSciNet  MATH  Google Scholar 

  • Tarjan RE (1976) Maximum cardinality search and chordal graphs. Unpublished lecture notes CS 259

  • Tarjan RE, Yannakakis M (1984) Simple linear-time algorithms to test chordality of graphs, test acyclicity of hypergraphs, and selectively reduce acyclic hypergraphs. SIAM J Comput 13(3):566–579

    Article  MathSciNet  MATH  Google Scholar 

  • Tompa M (1982) Two familiar transitive closure algorithms which admit no polynomial time, sublinear space implementations. SIAM J Comput 11(1):130–137

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Srinivasa Rao Satti.

Additional information

Some of these results were announced in preliminary form in the proceedings of 23rd International Computing and Combinatorics Conference (COCOON 2017), Springer LNCS volume 10392, pages 87–98 (Chakraborty and Satti 2017). Part of this work was done while the first author was affiliated to The Institute Mathematical Sciences, HBNI, India.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chakraborty, S., Satti, S.R. Space-efficient algorithms for maximum cardinality search, its applications, and variants of BFS. J Comb Optim 37, 465–481 (2019). https://doi.org/10.1007/s10878-018-0270-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10878-018-0270-1

Keywords