DOI QR코드

DOI QR Code

Algorithm for finding a length-constrained heaviest path of a tree

트리에서 길이 제한이 있는 가장 무거운 경로를 찾는 알고리즘

  • Published : 2006.12.31

Abstract

In a tree with each edge associated with a length and a weight (positive, negative, or zero are possible) we develop an O(nlognloglogn) time algorithm for finding a path such that its sum of weights is maximized and its sum of lengths does not exceed a given value. The previously best-known result is O($nlog^2n$), where n is the number of nodes in the tree.

에지마다 길이와 무게(둘 다 양수, 음수, 0 가능)가 주어진 트리에서, 길이의 합이 주어진 값 이하이면서 무게의 합이 가장 큰 경로를 찾는 O(nlognloglogn) 시간 알고리즘을 제시한다. 이전의 결과 O($nlog^2n$) 보다 향상된 것이다. 여기서, n은 트리가 가지는 노드의 수이다.

Keywords

References

  1. E. Horowitz, S. Sahni, and S. Anderson-Freed, Fundamentals of Data Structures in C, Computer Science Press, 1993
  2. H. Shen, Fast parallel algorithm for finding k-th longest path in a tree, Proceeding of the 1997 Advances in Parallel and Distributed Computing Conference (APDC'97), IEEE, pp.164-169, 1997
  3. B. Y. Wu, K-M. Chao, and C. Y. Tang, An efficient algorithm for the length-constrained heaviest path problem on a tree, Information Processing Letters, vol.69, pp.63-67, 1999 https://doi.org/10.1016/S0020-0190(98)00194-X