Title :
Cost-optimal parallel algorithms for the tree bisector and related problems
Author :
Wang, Biing-Feng ; Ku, Shan-Chyun ; Keng-Hua Shil
Author_Institution :
Dept. of Comput. Sci., Nat. Tsing Hua Univ., Hsinchu, Taiwan
fDate :
9/1/2001 12:00:00 AM
Abstract :
An edge is a bisector of a simple path if it contains the middle point of the path. Let T=(V,E) be a tree. Given a source vertex s ∈ V, the single-source tree bisector problem is to find, for every vertex υ ∈ V, a bisector of the simple path from s to υ. The all-pairs tree bisector problem is to find for, every pair of vertices u, υ ∈ V, a bisector of the simple path from u to υ. In this paper, it is first shown that solving the single-source tree bisector problem of a weighted tree has a time lower bound Ω(n log n) in the sequential case. Then, efficient parallel algorithms are proposed on the EREW PRAM for the single-source and all-pairs tree bisector problems. Two O(log n) time single-source algorithms are proposed. One uses O(n) work and is for unweighted trees. The other uses O(n log n) work and is for weighted trees. Previous algorithms for the single-source problem could achieve the same time O(log n) and the same optimal work, O(n) for unweighted trees and O(n log n) for weighted trees, on the CRCW PRAM. The contribution of our single-source algorithms is the improvement from CRCW to EREW. One all-pairs parallel algorithm is proposed. It requires O(log n) time using O(n2) work. All the proposed algorithms are cost-optimal. Efficient tree bisector algorithms have practical applications to several location problems on trees. Using the proposed algorithms, efficient parallel solutions for those problems are also presented
Keywords :
computational complexity; concurrency theory; parallel algorithms; tree data structures; EREW PRAM; all-pairs tree bisector problem; cost-optimal parallel algorithms; parallel algorithms; single-source problem; source vertex; time lower bound; tree bisector; unweighted trees; weighted trees; Computer Society; Joining processes; Parallel algorithms; Phase change random access memory;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on