Fast Computation of Smallest Enclosing Circle with Center on a Query Line Segment
نویسندگان
چکیده
Here we propose an efficient algorithm for computing the smallest enclosing circle whose center is constrained to lie on a query line segment. Our algorithm preprocesses a given set of n points P = {p1, p2, . . . , pn} such that for any query line or line segment L, it efficiently locates a point c′ on L that minimizes the maximum distance among the points in P from c′. Roy et al. [11] has proposed an algorithm for this problem that reports the location of the center of the smallest enclosing circle C ′ on a query line segment in O(log n) time. Our algorithm improves the query time compared to [11]. The reporting time for this problem is O(log n) and both the preprocessing time and space complexities are O(n).
منابع مشابه
Smallest enclosing circle centered on a query line segment
Given a set of n points P = {p1, p2, . . . , pn} in the plane, we show how to preprocess P such that for any query line segment L we can report in O(log n) time the smallest enclosing circle whose center is constrained to lie on L . The preprocessing time and space complexity are O(n log n) and O(n) respectively. We then show how to use this data structure in order to compute the smallest enclo...
متن کاملMinimum Enclosing Circle of a Set of Fixed Points and a Mobile Point
Given a set S of n static points and a mobile point p in R, we study the variations of the smallest circle that encloses S ∪ {p} when p moves along a straight line `. In this work, a complete characterization of the locus of the center of the minimum enclosing circle (MEC) of S ∪{p}, for p ∈ `, is presented. The locus is a continuous and piecewise differentiable linear function, and each of its...
متن کاملImproved Bounds for Smallest Enclosing Disk Range Queries
Let S be a set of n points in the plane. We present a method where, using O(n log n) time and space, S can be pre-processed into a data structure such that given an axis-parallel query rectangle q, we can report the radius of the smallest enclosing disk of the points lying in S ∩ q in O(log n) time per query.
متن کاملA fast deterministic smallest enclosing disk approximation algorithm
We describe a simple and fast O(n log2 1 ε )-time algorithm for finding a (1 + ε)-approximation of the smallest enclosing disk of a planar set of n points or disks. Experimental results of a readily available implementation are presented. 2004 Elsevier B.V. All rights reserved.
متن کاملFr{'e}chet and Hausdorff Queries on $x$-Monotone Trajectories
vspace{0.2cm}In this paper, we design a data structure for the following problem. Let $pi$ be an $x$-monotone trajectory with $n$ vertices in the plane and $epsilon >0$. We show how to preprocess $pi$ and $epsilon$ into a data structure such that for any horizontal query segment $Q$ in the plane, one can quickly determine the minimal continuous fraction of $pi$ whose Fr{'e}chet and Hausdo...
متن کامل