The Computer Journal Advance Access originally published online on July 23, 2008
The Computer Journal 2009 52(2):268-275; doi:10.1093/comjnl/bxn037
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Optimal Algorithms for Finding a Trunk on a Tree Network and its Applications
1 Department of Computer Science, Hosei University, Tokyo 184-8584, Japan
2 Department of Computer Hardware, University of Aizu, Aizu-Wakamatsu 965-8580, Japan
* Corresponding author: yamin{at}hosei.ac.jp
Received 26 December 2007; revised 14 May 2008
Given an edge-weighted tree T, a trunk is a path P in T which minimizes the sum of the distances of all vertices in T from P plus the weight of path P. In this paper, we give efficient algorithms for finding a trunk of T. The first algorithm is a sequential algorithm which runs in O(n) time, where n is the number of vertices in T. The second algorithm is a parallel algorithm which runs in O(log n) time using O(n/log n) processors on the EREW PRAM model. We present an application of trunk on mobile ad hoc networks for efficient multicasting.
Key Words: tree network algorithm wireless ad hoc networks