Dynamic and static algorithms for optimal placement of resources in a tree

被引:16
作者
Auletta, V [1 ]
Parente, D [1 ]
Persiano, G [1 ]
机构
[1] UNIV SALERNO,DIPARTIMENTO INFORMAT & APPLICAZ,I-84081 BARONISSI,ITALY
关键词
D O I
10.1016/0304-3975(96)00089-8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the problem of optimally placing identical resources at the nodes of a weighted tree-shaped network of size N. The resources satisfy requests issued from the nodes of the network. The cost of a placement of the resources is the sum over all nodes of the network of the product of the node weight times the distance from the closest resource. The static problem consists in determining the minimal cost placement of the resources. The dynamic version consists in recomputing such a cost when a node weight has changed. We present a linear time algorithm that computes the optimal placement of two resources in a tree. For the dynamic version we give an O(log N) time algorithm for placing one resource and, for the case of complete binary trees, an O(log N-3) time algorithm for two resources. The static algorithm is faster than the algorithms found in literature, while the dynamic algorithms are the first for this problem.
引用
收藏
页码:441 / 461
页数:21
相关论文
共 14 条
[1]  
Eppstein D., 1992, Proceedings 33rd Annual Symposium on Foundations of Computer Science (Cat. No.92CH3188-0), P60, DOI 10.1109/SFCS.1992.267818
[2]  
EPPSTEIN D, 1993, P 25 ANN ACM S THEOR
[3]   DATA-STRUCTURES FOR ONLINE UPDATING OF MINIMUM SPANNING-TREES, WITH APPLICATIONS [J].
FREDERICKSON, GN .
SIAM JOURNAL ON COMPUTING, 1985, 14 (04) :781-798
[4]  
FREDERICKSON GN, 1991, PROCEEDINGS - 32ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, P632, DOI 10.1109/SFCS.1991.185429
[5]  
FREDERICKSON GN, P 2 WORKSH ALG DAT S, V519, P299
[6]  
GALIL Z, 1991, LECT NOTES COMPUT SC, V510, P339
[7]  
Galil Z., 1992, P 24 ANN ACM S THEOR
[8]  
HAMPAPURAM H, 1993, AN S FDN CO, P480
[9]   ALGORITHMIC APPROACH TO NETWORK LOCATION PROBLEMS .2. P-MEDIANS [J].
KARIV, O ;
HAKIMI, SL .
SIAM JOURNAL ON APPLIED MATHEMATICS, 1979, 37 (03) :539-560
[10]  
Lin J.-H., 1992, 24TH P ANN ACM S THE, P771