Abstract
The longest path problem is to find a longest path in a given graph. While the graph classes in which the Hamiltonian path problem can be solved efficiently are widely investigated, very few graph classes are known where the longest path problem can be solved efficiently. For a tree, a simple linear time algorithm for the longest path problem is known. We first generalize the algorithm, and it then solves the longest path problem efficiently for weighted trees, block graphs, ptolemaic graphs, and cacti. We next propose three new graph classes that have natural interval representations, and show that the longest path problem can be solved efficiently on those classes. As a corollary, it is also shown that the problem can be solved efficiently on threshold graphs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Alon, N., Yuster, R., Zwick, U.: Color-Coding. J. ACM 42(4), 844–856 (1995)
Ausiello, G., Crescenzi, P., Gambosi, G., Kann, V., Marchetti-Spaccamela, A., Protasi, M.: Complexity and Approximation. Springer, Heidelberg (1999)
Balister, P.N., Györi, E., Lehel, J., Schelp, R.H.: Longest Paths in Circular Arc Graphs. Technical report, U. of Memphis (2002), http://www.msci.memphis.edu/preprint.html
Berge, C.: Hypergraphs. Elsevier, Amsterdam (1989)
Bertossi, A.A.: Finding Hamiltonian Circuits in Proper Interval Graphs. Info. Proc. Lett. 17(2), 97–101 (1983)
Bertossi, A.A., Bonuccelli, M.A.: Hamiltonian Circuits in Interval Graph Generalizations. Info. Proc. Lett. 23, 195–200 (1986)
Björklund, A., Husfeldt, T.: Finding a Path of Superlogarithmic Length. SIAM J. Comput. 32(6), 1395–1402 (2003)
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, 335–379 (1976)
Brandstädt, A., Le, V.B., Spinrad, J.P.: Graph Classes: A Survey. SIAM, Philadelphia (1999)
Bulterman, R.W., van der Sommen, F.W., Zwaan, G., Verhoeff, T., van Gasteren, A.J.M., Feijen, W.H.J.: On Computing a Longest Path in a Tree. Info. Proc. Lett. 81, 93–96 (2002)
Damaschke, P.: The Hamiltonian Circuit Problem for Circle Graphs is NP-complete. Info. Proc. Lett. 32, 1–2 (1989)
Damaschke, P.: Paths in Interval Graphs and Circular Arc Graphs. Discr. Math. 112, 49–64 (1993)
Downey, R.G., Fellows, M.R.: Parameterized Complexity. Springer, Heidelberg (1999)
Gabow, H.N.: Data Structures for Weighted Matching and Nearest Common Ancestors with Linking. In: Proc. 1st Ann. ACM-SIAM Symp. on Discr. Algo., pp. 434–443. ACM, New York (1990)
Garey, M.R., Johnson, D.S.: Computers and Intractability — A Guide to the Theory of NP-Completeness. Freeman, New York (1979)
Golumbic, M.C.: Algorithmic Graph Theory and Perfect Graphs. In: Ann. Discr. Math., vol. 57, 2/e. Elsevier, Amsterdam (2004)
Hochbaum, D.: Approximation Algorithms for NP-hard Problems. PWS Publishing Company (1995)
Karger, D., Motwani, R., Ramkumar, G.D.S.: On Approximating the Longest Path in a Graph. Algorithmica 18, 82–98 (1997)
Korte, N., Möhring, R.H.: An Incremental Linear-Time Algorithm for Recognizing Interval Graphs. SIAM J. Comput 18(1), 68–81 (1989)
Mahadev, N.V.R., Peled, U.N.: Longest Cycles in Threshold Graphs. Discr. Math. 135, 169–176 (1994)
Monien, B.: How to Find Long Paths Efficiently. Ann. Discr. Math. 25, 239–254 (1985)
Müller, H.: Hamiltonian Circuit in Chordal Bipartite Graphs. Disc. Math. 156, 291–298 (1996)
Scutellà , M.G.: An Approximation Algorithm for Computing Longest Paths. European J. Oper. Res. 148(3), 584–590 (2003)
Spinrad, J., Brandstädt, A., Stewart, L.: Bipartite Permutation Graphs. Discr. Appl. Math. 18, 279–292 (1987)
Vazirani, V.V.: Approximation Algorithms. Springer, Heidelberg (2001)
Vishwanathan, S.: An Approximation Algorithm for Finding a Long Path in Hamiltonian Graphs. In: Proc. 11th Ann. ACM-SIAM Symp. on Discr. Algo., pp. 680–685. ACM, New York (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Uehara, R., Uno, Y. (2004). Efficient Algorithms for the Longest Path Problem. In: Fleischer, R., Trippen, G. (eds) Algorithms and Computation. ISAAC 2004. Lecture Notes in Computer Science, vol 3341. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30551-4_74
Download citation
DOI: https://doi.org/10.1007/978-3-540-30551-4_74
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-24131-7
Online ISBN: 978-3-540-30551-4
eBook Packages: Computer ScienceComputer Science (R0)