Line-segment intersection made in-place (Q2385700)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Line-segment intersection made in-place |
scientific article |
Statements
Line-segment intersection made in-place (English)
0 references
12 October 2007
0 references
An in-place algorithm is an algorithm which transforms a data structure using a small, constant amount of extra storage space. The input is usually overwritten by the output as the algorithm executes. The paper deals with the problem of designing space-efficient algorithms for solving merging, sorting and partitioning problems. The author presents an in-place version of the optimal algorithm proposed by \textit{Balaban} [Proceedings of the 11th Annual Symposium on Computational Geometry, ACM Press, New York, 211--219 (1995)]. The main result is the following theorem: All \(k\) intersections induced by a set of \(n\) segments in the plane can be computed in \(O(n\log^2(n)+k)\) time using \(O(1)\) very little extra words of memory. The technique is to identify building blocks of the original algorithm and to try to replace them by in-place counterparts wherever possible. An appendix is devoted to degenerate configurations.
0 references
computational complexity
0 references
space-efficient algorithms
0 references
in-place algorithms
0 references
line-segment intersection
0 references
O(1) space complexity
0 references