We design a linear time algorithm computing the maximum weight Hamiltonian path in a weighted complete graph K T, where T is a given undirected tree. The vertices of K T are nodes of T and weight(i, j) is the distance between i, j in T. The input is the tree T and two nodes u, ν ∈T, the output is the maximum weight Hamiltonian path between these nodes. The size n of the input is the size of T (however the total size of the complete graph K T is quadratic with respect to n). Our algorithm runs in O(n) time. Correctness is based on combinatorics of alternating sequences. The problem has been inspired by a similar (but much simpler) problem in a famous book of Hugo Steinhaus. © 2012 Springer-Verlag Berlin Heidelberg.
CITATION STYLE
Rytter, W., & Szreder, B. (2012). Computing maximum Hamiltonian paths in complete graphs with tree metric. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7288 LNCS, pp. 346–356). https://doi.org/10.1007/978-3-642-30347-0_34
Mendeley helps you to discover research relevant for your work.