Approximating the discrete and continuous median line segments in d dimensions

01/21/2022
by   Ovidiu Daescu, et al.
0

Consider a set P of n points in ℝ^d. In the discrete median line segment problem, the objective is to find a line segment bounded by a pair of points in P such that the sum of the Euclidean distances from P to the line segment is minimized. In the continuous median line segment problem, a real number ℓ>0 is given, and the goal is to locate a line segment of length ℓ in ℝ^d such that the sum of the Euclidean distances between P and the line segment is minimized. We show how to compute (1+ϵΔ)- and (1+ϵ)-approximations to a discrete median line segment in time O(nϵ^-2dlog n) and O(n^2ϵ^-d), respectively, where Δ is the spread of line segments spanned by pairs of points. While developing our algorithms, by using the principle of pair decomposition, we derive new data structures that allow us to quickly approximate the sum of the distances from a set of points to a given line segment or point. To our knowledge, our utilization of pair decompositions for solving minsum facility location problems is the first of its kind; it is versatile and easily implementable. We prove that it is impossible to construct a continuous median line segment for n≥3 non-collinear points in the plane by using only ruler and compass. In view of this, we present an O(n^dϵ^-d)-time algorithm for approximating a continuous median line segment in ℝ^d within a factor of 1+ϵ. The algorithm is based upon generalizing the point-segment pair decomposition from the discrete to the continuous domain. Last but not least, we give an (1+ϵ)-approximation algorithm, whose time complexity is sub-quadratic in n, for solving the constrained median line segment problem in ℝ^2 where an endpoint or the slope of the median line segment is given at input.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/17/2018

Bottleneck Bichromatic Non-crossing Matchings using Orbits

Let R and B be sets of n red and n blue points in the plane, respectivel...
research
03/17/2023

Connectivity with uncertainty regions given as line segments

For a set Q of points in the plane and a real number δ≥ 0, let 𝔾_δ(Q) be...
research
01/03/2022

A New Algorithm for Pyramidal Clipping of Line Segments in E3

A new algorithm for clipping a line segment against a pyramid in E3 is p...
research
04/01/2021

The k-Colorable Unit Disk Cover Problem

In this article, we consider colorable variations of the Unit Disk Cover...
research
01/10/2022

Segment Visibility Counting Queries in Polygons

Let P be a simple polygon with n vertices, and let A be a set of m point...
research
12/02/2022

Stabbing balls with line segments and polygonal paths

We study the problem of ordered stabbing of n balls (of arbitrary and po...
research
01/24/2021

Longest segment of balanced parentheses – an exercise in program inversion in a segment problem (Functional Pearl)

Given a string of parentheses, the task is to find a longest consecutive...

Please sign up or login with your details

Forgot password? Click here to reset