Abstract
We present a fast parallel algorithm running in O(log 2n) time on a CREW PRAM with O(n) processors for finding the kth longest path in a given tree of n vertices (with Θ(n 2) intervertex distances). Our algorithm is obtained by efficient parallelization of a sequential algorithm which is a variant of both Megiddo et al's algorithm [12] and Fredrickson et al's algorithm [3] based on centroid decomposition of tree and succinct representation of the set of intervertex distances. With the same time and space bound as the best known result, our sequential algorithm maintains a shorter length of the decomposition tree.
Original language | English |
---|---|
Pages | 164-169 |
Number of pages | 6 |
Publication status | Published - 1997 |
Externally published | Yes |
Event | Proceedings of the 1997 Conference on Advances in Parallel and Distributed Computing - Shanghai, China Duration: 19 Mar 1997 → 21 Mar 1997 |
Conference
Conference | Proceedings of the 1997 Conference on Advances in Parallel and Distributed Computing |
---|---|
City | Shanghai, China |
Period | 19/03/97 → 21/03/97 |