Boris Aronov , Esther Ezra , Micha Sharir , Guy Zigdon
{"title":"Time and space efficient collinearity indexing","authors":"Boris Aronov , Esther Ezra , Micha Sharir , Guy Zigdon","doi":"10.1016/j.comgeo.2022.101963","DOIUrl":null,"url":null,"abstract":"<div><p>The <span><em>collinearity</em><em> testing</em></span><span> problem is a basic problem in computational geometry, in which, given three sets </span><em>A</em>, <em>B</em>, <em>C</em> in the plane, of <em>n</em><span> points each, the task is to detect a collinear triple of points in </span><span><math><mi>A</mi><mo>×</mo><mi>B</mi><mo>×</mo><mi>C</mi></math></span> or report there is no such triple. In this paper we consider a preprocessing variant of this question, namely, the <em>collinearity indexing</em> problem, in which we are given two sets <em>A</em> and <em>B</em>, each of <em>n</em> points in the plane, and our goal is to preprocess <em>A</em> and <em>B</em><span> into a data structure, so that, for any query point </span><span><math><mi>q</mi><mo>∈</mo><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>, we can determine whether <em>q</em> is collinear with a pair of points <span><math><mo>(</mo><mi>a</mi><mo>,</mo><mi>b</mi><mo>)</mo><mo>∈</mo><mi>A</mi><mo>×</mo><mi>B</mi></math></span>. We provide a solution to the problem for the case where the points of <em>A</em>, <em>B</em> lie on an integer grid, and the query points lie on a vertical line, with a data structure of subquadratic storage and sublinear query time. We then extend our result to the case where the query points lie on the graph of a polynomial of constant degree. Our solution is based on the function-inversion technique of Fiat and Naor <span>[11]</span>.</p></div>","PeriodicalId":51001,"journal":{"name":"Computational Geometry-Theory and Applications","volume":"110 ","pages":"Article 101963"},"PeriodicalIF":0.4000,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Geometry-Theory and Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925772122001067","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"MATHEMATICS","Score":null,"Total":0}
引用次数: 1
Abstract
The collinearity testing problem is a basic problem in computational geometry, in which, given three sets A, B, C in the plane, of n points each, the task is to detect a collinear triple of points in or report there is no such triple. In this paper we consider a preprocessing variant of this question, namely, the collinearity indexing problem, in which we are given two sets A and B, each of n points in the plane, and our goal is to preprocess A and B into a data structure, so that, for any query point , we can determine whether q is collinear with a pair of points . We provide a solution to the problem for the case where the points of A, B lie on an integer grid, and the query points lie on a vertical line, with a data structure of subquadratic storage and sublinear query time. We then extend our result to the case where the query points lie on the graph of a polynomial of constant degree. Our solution is based on the function-inversion technique of Fiat and Naor [11].
期刊介绍:
Computational Geometry is a forum for research in theoretical and applied aspects of computational geometry. The journal publishes fundamental research in all areas of the subject, as well as disseminating information on the applications, techniques, and use of computational geometry. Computational Geometry publishes articles on the design and analysis of geometric algorithms. All aspects of computational geometry are covered, including the numerical, graph theoretical and combinatorial aspects. Also welcomed are computational geometry solutions to fundamental problems arising in computer graphics, pattern recognition, robotics, image processing, CAD-CAM, VLSI design and geographical information systems.
Computational Geometry features a special section containing open problems and concise reports on implementations of computational geometry tools.