The weight-constrained maximum-density subtree problem and related problems in trees

被引:0
|
作者
Hsieh, Sun-Yuan [1 ]
Chou, Ting-Yu [1 ]
机构
[1] Natl Cheng Kung Univ, Dept Comp Sci & Informat Engn, Tainan 701, Taiwan
来源
JOURNAL OF SUPERCOMPUTING | 2010年 / 54卷 / 03期
关键词
Design and analysis of algorithms; Maximum-density paths; Maximum-density Steiner trees; Maximum-density subtrees; NP-completeness; Pseudo-polynomial time algorithms; ALGORITHM; SEQUENCE; SEGMENTS; PATH;
D O I
10.1007/s11227-009-0328-z
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Given a tree T = (V, E) of n nodes such that each node v is associated with a value-weight pair (val(v), w(v)), where value val(v) is a real number and weight w(v) is a non-negative integer, the density of T is defined as Sigma(v is an element of V) val(v)/Sigma(v is an element of V) w(v). A subtree of T is a connected subgraph (V', E') of T, where V' subset of V and E' subset of E. Given two integers w(min) and w(max), the weight-constrained maximum-density subtree problem on T is to find a maximum-density subtree T' = (V', E') satisfying w(min) <= Sigma(v is an element of V')w(v) <= W-max. In this paper, we first present an O(w(max)n)-time algorithm to find a weight-constrained maximum-density path in a tree T, and then present an O (w(max)(2)n)-time algorithm to find a weight-constrained maximum-density subtree in T. Finally, given a node subset S subset of V, we also present an O(w(max)(2)n)-time algorithm to find a weight-constrained maximum-density subtree in T which covers all the nodes in S.
引用
收藏
页码:366 / 380
页数:15
相关论文
共 47 条