Publication IEICE TRANSACTIONS on Information and SystemsVol.E83-DNo.2pp.151-158 Publication Date: 2000/02/25 Online ISSN: DOI: Print ISSN: 0916-8532 Type of Manuscript: PAPER Category: Algorithms Keyword: parallel algorithm, BSP model, all nearest neighbors,
Full Text: PDF(642.8KB)>>
Summary: In this paper, we present two parallel algorithms for computing the all nearest neighbors of an nn binary image on the Bulk-Synchronous Parallel(BSP) model. The BSP model is an asynchronous parallel computing model, where its communication features are abstracted by two parameters L and g: L denotes synchronization periodicity and g denotes a reciprocal of communication bandwidth. We propose two parallel algorithms for the all nearest neighbor problems based on two distance metrics. The first algorithm is for Lp distance, and the second algorithm is for weighted distance. Both two algorithms run in O(n2/p + L) computation time and in O(g(n/p) + L) communication time using p (1 pn) processors and in O(n2/p + (d+L)(log(p/n)/log(d+1))) computation time and in O(g(n/p) + (gd+L)(log(p/n)/log(d+1))) communication time using p (n< pn2) processors on the BSP model, for any integer d(1 dp/n).