Line-segment intersection made in-place

  • Authors:
  • Jan Vahrenhold

  • Affiliations:
  • Institut für Informatik, Westfälische Wilhelms-Universität Münster, Münster, Germany

  • Venue:
  • WADS'05 Proceedings of the 9th international conference on Algorithms and Data Structures
  • Year:
  • 2005

Quantified Score

Hi-index 0.03

Visualization

Abstract

We present a space-efficient algorithm for reporting all k intersections induced by a set of n line segments in the place. Our algorithm is an in-place variant of Balaban's algorithm and runs in $\mathcal{O}(n log^2_2 n + k)$ time using $\mathcal{O}$(1) extra words of memory over and above the space used for the input to the algorithm.