On Computing the Upper Envelope of Segments in Parallel

  • Authors:
  • Wei Chen;Koichi Wada

  • Affiliations:
  • Nanzan Univ., Aichi-ken, Japan;Nagoya Institute of Technology, Nagoya, Japan

  • Venue:
  • IEEE Transactions on Parallel and Distributed Systems
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given a collection of segments in the plane, if we regard the segments as opaque barriers, their upper envelope consists of the portions of the segments visible from point (0,+\infty). In this paper, we present deterministic parallel methods for constructing the upper envelope of segments on the weakest shared-memory model, the EREW PRAM. We show that we can find the upper envelope of n line segments optimally in O(\log n) time using O(n) processors. Furthermore, if the segments are nonintersecting and their endpoints are sorted in x-coordinate, then we can reduce the number of processors to O(n/\log n). Our method implies that we can find the upper envelope sequentially in O(n\log \log n) time, which improves previous results. We also show that we can find the upper envelope of nk-intersecting segments (any pair of the segments intersects at most k times) with a slightly larger time and processor bound.