Back to Search Start Over

A simple parallel algorithm for computing the diameters of all vertices in a tree and its application

Authors :
Zhi-Zhong Chen
Source :
Information Processing Letters. 42:243-248
Publication Year :
1992
Publisher :
Elsevier BV, 1992.

Abstract

The problem considered here is to find, for all vertices v in a given tree T , the maximum among the distances from v to all other vertices in T . We show that this problem can be solved in O(log n ) time using O( n /log n ) processors on an EREW PRAM, where n is the number of vertices in the tree. The correctness of the algorithm relies on two simple but interesting properties of trees. We then show an application of the result.

Details

ISSN :
00200190
Volume :
42
Database :
OpenAIRE
Journal :
Information Processing Letters
Accession number :
edsair.doi...........1a71913b89741ba0701e81b31ce940f9
Full Text :
https://doi.org/10.1016/0020-0190(92)90031-p