Skip to main content

Maintaining Chordal Graphs Dynamically: Improved Upper and Lower Bounds

  • Conference paper
  • First Online:
Book cover Computer Science – Theory and Applications (CSR 2018)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10846))

Included in the following conference series:

  • 1060 Accesses

Abstract

We study upper and lower bounds for the problem of maintaining a chordal graph G under edge insertions and deletions. Let G be a chordal graph on n vertices and m edges and let (uv) be the edge to be deleted or inserted.

  • Let k be the size of the maximum clique in G. Our first result is an improved analysis of an earlier approach due to Ibarra [12] to support edge deletions. We can construct a data structure in \(O(nk^2)\) time such that we can report in O(1) time if \(G{\setminus }{(u,v)}\) is chordal and if it is, we can update the structure in \(O(n + k^2)\) time. We then show using a charging argument that the update time can be improved to \(O(n^2/\Delta + k^2)\) amortized time over a sequence of \(\Delta \) deletions.

  • We develop a data structure to maintain a perfect elimination ordering (PEO) of chordal graphs where we can detect whether \(G{\setminus }{(u,v)}\) is chordal in \(O(\min \{degree(u), degree(v)\})\) time, and if it is chordal, we can update the structure in \(O(degree(u)+degree(v))\) time. In graphs of bounded degree, our query and update bounds are a constant.

  • Finally, we show that we can obtain a PEO of the graph from a clique-tree in O(n) time after an edge insertion or deletion (against a naive \(O(m\,+\,n)\) time). This answers a question posed by Ibarra [12].

Regarding lower bounds, we show that any dynamic structure to maintain a chordal graph requires \(\varOmega (\log n)\) amortized time per edge addition or deletion or per query to detect chordality, in the cell probe model with word size \(\log n\).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Proof deferred to the full version.

  2. 2.

    Proof deferred to the full version.

References

  1. Berry, A., Sigayret, A., Spinrad, J.: Faster dynamic algorithms for chordal graphs, and an application to phylogeny. In: Kratsch, D. (ed.) WG 2005. LNCS, vol. 3787, pp. 445–455. Springer, Heidelberg (2005). https://doi.org/10.1007/11604686_39

    Chapter  Google Scholar 

  2. Brandstädt, A., Dragan, F.F., Chepoi, V., Voloshin, V.I.: Dually chordal graphs. SIAM J. Discrete Math. 11(3), 437–455 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  3. Buneman, P.: A characterisation of rigid circuit graphs. Discrete Math. 9(3), 205–212 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  4. Deshpande, A., Garofalakis, M.N., Jordan, M.I.: Efficient stepwise selection in decomposable models. In: UAI 2001: Proceedings of the 17th Conference in Uncertainty in Artificial Intelligence, University of Washington, Seattle, Washington, USA, 2–5 Aug 2001, pp. 128–135 (2001)

    Google Scholar 

  5. Diestel, R.: Graph Theory. GTM, vol. 173, 4th edn. Springer, Heidelberg (2012)

    MATH  Google Scholar 

  6. Dietz, P.F., Sleator, D.D.: Two algorithms for maintaining order in a list. In: Proceedings of the 19th Annual ACM Symposium on Theory of Computing 1987, New York, NY, USA, pp. 365–372 (1987)

    Google Scholar 

  7. Fagin, R.: Degrees of acyclicity for hypergraphs and relational database schemes. J. ACM 30(3), 514–550 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  8. Gavril, F.: Algorithms for minimum coloring, maximum clique, minimum covering by cliques, and maximum independent set of a chordal graph. SIAM J. Comput. 1(2), 180–187 (1972)

    Article  MathSciNet  MATH  Google Scholar 

  9. Hell, P., Shamir, R., Sharan, R.: A fully dynamic algorithm for recognizing and representing proper interval graphs. SIAM J. Comput. 31(1), 289–305 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  10. Henzinger, M.R., Fredman, M.L.: Lower bounds for fully dynamic connectivity problems in graphs. Algorithmica 22(3), 351–362 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  11. Howorka, E.: A characterization of ptolemaic graphs. J. Graph Theory 5(3), 323–331 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  12. Ibarra, L.: Fully dynamic algorithms for chordal graphs and split graphs. ACM Trans. Algorithms 4(4), 40:1–40:20 (2008)

    Article  MathSciNet  Google Scholar 

  13. Mezzini, M.: Fully dynamic algorithm for chordal graphs with O(1) query-time and O(n\({}^{2})\) update-time. Theor. Comput. Sci. 445, 82–92 (2012)

    Article  MathSciNet  Google Scholar 

  14. Mezzini, M., Moscarini, M.: Simple algorithms for minimal triangulation of a graph and backward selection of a decomposable markov network. Theor. Comput. Sci. 411(7–9), 958–966 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  15. Nesetril, J.: Structural properties of sparse graphs. Electron. Notes Discrete Math. 31, 247–251 (2008)

    Article  MATH  Google Scholar 

  16. Patrascu, M., Demaine, E.D.: Logarithmic lower bounds in the cell-probe model. SIAM J. Comput. 35(4), 932–963 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  17. Rose, D.J., Tarjan, R.E., Lueker, G.S.: Algorithmic aspects of vertex elimination on graphs. SIAM J. Comput. 5(2), 266–283 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  18. Tarjan, R.E., Yannakakis, M.: 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 (1984)

    Article  MathSciNet  MATH  Google Scholar 

  19. Walter, J.R.: Representations of chordal graphs as subtrees of a tree. J. Graph Theory 2(3), 265–267 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  20. Yao, A.C.-C.: Should tables be sorted? J. ACM 28(3), 615–628 (1981)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgement

The first author would like to thank Keerti Choudhary for useful discussions leading to Theorem 5.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Niranka Banerjee .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Banerjee, N., Raman, V., Satti, S.R. (2018). Maintaining Chordal Graphs Dynamically: Improved Upper and Lower Bounds. In: Fomin, F., Podolskii, V. (eds) Computer Science – Theory and Applications. CSR 2018. Lecture Notes in Computer Science(), vol 10846. Springer, Cham. https://doi.org/10.1007/978-3-319-90530-3_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-90530-3_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-90529-7

  • Online ISBN: 978-3-319-90530-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics