Skip to main content

Linear-Time Algorithms for Tree Root Problems

  • Conference paper

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

Abstract

Let T be a tree on a set V of nodes. The p-th power T p of T is the graph on V such that any two nodes u and w of V are adjacent in T p if and only if the distance of u and w in T is at most p. Given an n-node m-edge graph G and a positive integer p, the p-th tree root problem asks for a tree T, if any, such that G=T p. Given a graph G, the tree root problem asks for a positive integer p and a tree T, if any, such that G=T p. Kearney and Corneil gave the best previously known algorithms for both problems. Their algorithm for the former (respectively, latter) problem runs in O(n 3) (respectively, O(n 4)) time. In this paper, we give O(n+m)-time algorithms for both problems.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Buneman, P.: Characterization of rigid circuit graphs. Discrete Mathematics 9, 205–212 (1974)

    Article  MATH  MathSciNet  Google Scholar 

  2. Dirac, G.A.: On rigid circuit graphs. Abhandlungen aus dem Mathematischen Seminar der Universität Hamburg 25, 71–76 (1961)

    Article  MATH  MathSciNet  Google Scholar 

  3. Gavril, F.: The intersection graphs of subtrees in trees are exactly chordal graphs. Journal of Combinatorial Theory, Series B 16, 47–56 (1974)

    Article  MATH  MathSciNet  Google Scholar 

  4. Gupta, S.K., Singh, A.: On tree roots of graphs. International Journal of Computer Mathematics 73, 157–166 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  5. Ho, C.-W., Lee, R.C.T.: Counting clique trees and computing perfect elimination schemes in parallel. Information Processing Letters 31, 61–68 (1989)

    Article  MATH  MathSciNet  Google Scholar 

  6. Hsu, W.-L., Ma, T.-H.: Fast and simple algorithms for recognizing chordal comparability graphs and interval graphs. SIAM Journal on Computing 28, 1004–1020 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  7. Kearney, P.E., Corneil, D.G.: Tree powers. Journal of Algorithms 29, 111–131 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  8. Kumar, P.S., Madhavan, C.E.V.: Clique tree generalization and new subclasses of chordal graphs. Discrete Applied Mathematics 117, 109–131 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  9. Lau, L.C.: Bipartite roots of graphs. In: Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 952–961 (2004)

    Google Scholar 

  10. Lau, L.C., Corneil, D.G.: Recognizing powers of proper interval, split, and chordal graphs. SIAM Journal on Computing 18(1), 83–102 (2004)

    MATH  MathSciNet  Google Scholar 

  11. Lin, Y.L., Skiena, S.: Algorithms for square roots of graphs. SIAM Journal on Discrete Mathematics 8, 99–118 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  12. Motwani, R., Sudan, M.: Computing roots of graphs is hard. Discrete Applied Mathematics 54, 81–88 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  13. Rose, D., Tarjan, R., Lueker, G.: Algorithmic aspects of vertex elimination of graph. SIAM Journal on Computing 5(2), 266–283 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  14. Ross, I.C., Harary, F.: The squares of a tree. Bell System Technical Journal 39, 641–647 (1960)

    MathSciNet  Google Scholar 

  15. Tarjan, R., Yannakakis, M.: Simple linear time algorithms to test chordality of graphs, test acyclicity of hypergraphs and selectively reduce acyclic hypergraphs. SIAM Journal on Computing 13(3), 566–576 (1984)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chang, MS., Ko, MT., Lu, HI. (2006). Linear-Time Algorithms for Tree Root Problems. In: Arge, L., Freivalds, R. (eds) Algorithm Theory – SWAT 2006. SWAT 2006. Lecture Notes in Computer Science, vol 4059. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11785293_38

Download citation

  • DOI: https://doi.org/10.1007/11785293_38

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-35753-7

  • Online ISBN: 978-3-540-35755-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics