Computing shortest transversals

B. Bhattacharya, Godfried Toussaint

Research output: Contribution to journalArticle

Abstract

We present an O(nlog2n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.

Original languageEnglish (US)
Pages (from-to)93-119
Number of pages27
JournalComputing
Volume46
Issue number2
DOIs
StatePublished - Jun 1 1991

Fingerprint

Transversals
Line segment
Intersect
Computing
Line
Polygon
Geometric Optimization
Combinatorial Complexity
Vertex of a graph
Rectangle
Linear programming
Optimization Problem
Range of data

Keywords

  • algorithms
  • AMS Subject Classifications: 52.A30, 52.A10
  • complexity
  • computational geometry
  • stabbing lines
  • transversals

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Numerical Analysis
  • Computer Science Applications
  • Computational Theory and Mathematics
  • Computational Mathematics

Cite this

Computing shortest transversals. / Bhattacharya, B.; Toussaint, Godfried.

In: Computing, Vol. 46, No. 2, 01.06.1991, p. 93-119.

Research output: Contribution to journalArticle

Bhattacharya, B. ; Toussaint, Godfried. / Computing shortest transversals. In: Computing. 1991 ; Vol. 46, No. 2. pp. 93-119.
@article{37aa6199088249e59ee4516428e64a63,
title = "Computing shortest transversals",
abstract = "We present an O(nlog2n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.",
keywords = "algorithms, AMS Subject Classifications: 52.A30, 52.A10, complexity, computational geometry, stabbing lines, transversals",
author = "B. Bhattacharya and Godfried Toussaint",
year = "1991",
month = "6",
day = "1",
doi = "10.1007/BF02239165",
language = "English (US)",
volume = "46",
pages = "93--119",
journal = "Computing (Vienna/New York)",
issn = "0010-485X",
publisher = "Springer Wien",
number = "2",

}

TY - JOUR

T1 - Computing shortest transversals

AU - Bhattacharya, B.

AU - Toussaint, Godfried

PY - 1991/6/1

Y1 - 1991/6/1

N2 - We present an O(nlog2n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.

AB - We present an O(nlog2n) time and O(n) space algorithm for computing the shortest line segment that intersects a set of n given line segments or lines in the plane. If the line segments do not intersect the algorithm may be trimmed to run in O(nlog n) time. Furthermore, in combination with linear programming the algorithm will also find the shortest line segment that intersects a set of n isothetic rectangles in the plane in O(nlog k) time, where k is the combinatorial complexity of the space of transversals and k≤4 n. These results find application in: (1) line-fitting between a set of n data ranges where it is desired to obtain the shortest line-of-fit, (2) finding the shortest line segment from which a convex n-vertex polygon is weakly externally visible, and (3) determing the shortest line-of-sight between two edges of a simple n-vertex polygon, for which O(n) time algorithms are also given. All the algorithms are based on the solution to a new fundamental geometric optimization problem that is of independent interest and should find application in different contexts as well.

KW - algorithms

KW - AMS Subject Classifications: 52.A30, 52.A10

KW - complexity

KW - computational geometry

KW - stabbing lines

KW - transversals

UR - http://www.scopus.com/inward/record.url?scp=0025791235&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=0025791235&partnerID=8YFLogxK

U2 - 10.1007/BF02239165

DO - 10.1007/BF02239165

M3 - Article

AN - SCOPUS:0025791235

VL - 46

SP - 93

EP - 119

JO - Computing (Vienna/New York)

JF - Computing (Vienna/New York)

SN - 0010-485X

IS - 2

ER -