Logo image
An improved algorithm for finding a length-constrained maximum-density subtree in a tree
期刊文章   同儕審查

An improved algorithm for finding a length-constrained maximum-density subtree in a tree

Hsin-Hao Su, Chin Lung LuChuan Yi Tang
Information Processing Letters, 卷.109(2), 頁碼.161-164
12/2008

摘要

Algorithms Divide and conquer Dynamic programming Network design Trees Information Systems Computer Science Applications Signal Processing Theoretical Computer Science
Given a tree T with weight and length on each edge, as well as a lower bound L and an upper bound U, the so-called length-constrained maximum-density subtree problem is to find a maximum-density subtree in T such that the length of this subtree is between L and U. In this study, we present an algorithm that runs in O (n U log n) time for the case when the edge lengths are positive integers, where n is the number of nodes in T, which is an improvement over the previous algorithms when U = Ω (log n). In addition, we show that the time complexity of our algorithm can be reduced to O (n L log frac(n, L)), when the edge lengths being considered are uniform. © 2008 Elsevier B.V. All rights reserved.

相關連結

指標

1 檢視次數

詳細資料

Logo image