31 research outputs found

    Threadable Curves

    Get PDF
    We define a plane curve to be threadable if it can rigidly pass through a point-hole in a line L without otherwise touching L. Threadable curves are in a sense generalizations of monotone curves. We have two main results. The first is a linear-time algorithm for deciding whether a polygonal curve is threadable---O(n) for a curve of n vertices---and if threadable, finding a sequence of rigid motions to thread it through a hole. We also sketch an argument that shows that the threadability of algebraic curves can be decided in time polynomial in the degree of the curve. The second main result is an O(n polylog n)-time algorithm for deciding whether a 3D polygonal curve can thread through hole in a plane in R^3, and if so, providing a description of the rigid motions that achieve the threading.Comment: 16 pages, 12 figures, 12 references. v2: Revised with brief addendum after Mikkel Abrahamsen pointed us to a relevant reference on "sweepable polygons." v3: Major revisio

    Unions of Onions: Preprocessing Imprecise Points for Fast Onion Decomposition

    Full text link
    Let D\mathcal{D} be a set of nn pairwise disjoint unit disks in the plane. We describe how to build a data structure for D\mathcal{D} so that for any point set PP containing exactly one point from each disk, we can quickly find the onion decomposition (convex layers) of PP. Our data structure can be built in O(nlog⁥n)O(n \log n) time and has linear size. Given PP, we can find its onion decomposition in O(nlog⁥k)O(n \log k) time, where kk is the number of layers. We also provide a matching lower bound. Our solution is based on a recursive space decomposition, combined with a fast algorithm to compute the union of two disjoint onionComment: 10 pages, 5 figures; a preliminary version appeared at WADS 201

    Minimum Cuts in Geometric Intersection Graphs

    Full text link
    Let D\mathcal{D} be a set of nn disks in the plane. The disk graph GDG_\mathcal{D} for D\mathcal{D} is the undirected graph with vertex set D\mathcal{D} in which two disks are joined by an edge if and only if they intersect. The directed transmission graph GD→G^{\rightarrow}_\mathcal{D} for D\mathcal{D} is the directed graph with vertex set D\mathcal{D} in which there is an edge from a disk D1∈DD_1 \in \mathcal{D} to a disk D2∈DD_2 \in \mathcal{D} if and only if D1D_1 contains the center of D2D_2. Given D\mathcal{D} and two non-intersecting disks s,t∈Ds, t \in \mathcal{D}, we show that a minimum ss-tt vertex cut in GDG_\mathcal{D} or in GD→G^{\rightarrow}_\mathcal{D} can be found in O(n3/2polylogn)O(n^{3/2}\text{polylog} n) expected time. To obtain our result, we combine an algorithm for the maximum flow problem in general graphs with dynamic geometric data structures to manipulate the disks. As an application, we consider the barrier resilience problem in a rectangular domain. In this problem, we have a vertical strip SS bounded by two vertical lines, LℓL_\ell and LrL_r, and a collection D\mathcal{D} of disks. Let aa be a point in SS above all disks of D\mathcal{D}, and let bb a point in SS below all disks of D\mathcal{D}. The task is to find a curve from aa to bb that lies in SS and that intersects as few disks of D\mathcal{D} as possible. Using our improved algorithm for minimum cuts in disk graphs, we can solve the barrier resilience problem in O(n3/2polylogn)O(n^{3/2}\text{polylog} n) expected time.Comment: 11 pages, 4 figure

    Reverse nearest neighbor queries in fixed dimension

    Full text link
    Reverse nearest neighbor queries are defined as follows: Given an input point-set P, and a query point q, find all the points p in P whose nearest point in P U {q} \ {p} is q. We give a data structure to answer reverse nearest neighbor queries in fixed-dimensional Euclidean space. Our data structure uses O(n) space, its preprocessing time is O(n log n), and its query time is O(log n).Comment: 7 pages, 3 figures; typos corrected; more background material on compressed quadtree

    Algorithms for Stable Matching and Clustering in a Grid

    Full text link
    We study a discrete version of a geometric stable marriage problem originally proposed in a continuous setting by Hoffman, Holroyd, and Peres, in which points in the plane are stably matched to cluster centers, as prioritized by their distances, so that each cluster center is apportioned a set of points of equal area. We show that, for a discretization of the problem to an n×nn\times n grid of pixels with kk centers, the problem can be solved in time O(n2log⁡5n)O(n^2 \log^5 n), and we experiment with two slower but more practical algorithms and a hybrid method that switches from one of these algorithms to the other to gain greater efficiency than either algorithm alone. We also show how to combine geometric stable matchings with a kk-means clustering algorithm, so as to provide a geometric political-districting algorithm that views distance in economic terms, and we experiment with weighted versions of stable kk-means in order to improve the connectivity of the resulting clusters.Comment: 23 pages, 12 figures. To appear (without the appendices) at the 18th International Workshop on Combinatorial Image Analysis, June 19-21, 2017, Plovdiv, Bulgari

    Bounded-Degree Polyhedronization of Point Sets

    Get PDF
    Abstract In 1994 GrĂŒnbaum showed that, given a point set S in R 3 , it is always possible to construct a polyhedron whose vertices are exactly S. Such a polyhedron is called a polyhedronization of S. Agarwal et al. extended this work in 2008 by showing that there always exists a polyhedronization that can be decomposed into a union of tetrahedra (tetrahedralizable). In the same work they introduced the notion of a serpentine polyhedronization for which the dual of its tetrahedralization is a chain. In this work we present a randomized algorithm running in O(n log 6 n) expected time that constructs a serpentine polyhedronization that has vertices with degree at most 7, answering an open question by Agarwal et al

    Data Structures for Halfplane Proximity Queries and Incremental Voronoi Diagrams

    Full text link
    We consider preprocessing a set SS of nn points in convex position in the plane into a data structure supporting queries of the following form: given a point qq and a directed line ℓ\ell in the plane, report the point of SS that is farthest from (or, alternatively, nearest to) the point qq among all points to the left of line ℓ\ell. We present two data structures for this problem. The first data structure uses O(n1+Δ)O(n^{1+\varepsilon}) space and preprocessing time, and answers queries in O(21/Δlog⁥n)O(2^{1/\varepsilon} \log n) time, for any 0<Δ<10 < \varepsilon < 1. The second data structure uses O(nlog⁥3n)O(n \log^3 n) space and polynomial preprocessing time, and answers queries in O(log⁥n)O(\log n) time. These are the first solutions to the problem with O(log⁥n)O(\log n) query time and o(n2)o(n^2) space. The second data structure uses a new representation of nearest- and farthest-point Voronoi diagrams of points in convex position. This representation supports the insertion of new points in clockwise order using only O(log⁥n)O(\log n) amortized pointer changes, in addition to O(log⁥n)O(\log n)-time point-location queries, even though every such update may make Θ(n)\Theta(n) combinatorial changes to the Voronoi diagram. This data structure is the first demonstration that deterministically and incrementally constructed Voronoi diagrams can be maintained in o(n)o(n) amortized pointer changes per operation while keeping O(log⁥n)O(\log n)-time point-location queries.Comment: 17 pages, 6 figures. Various small improvements. To appear in Algorithmic

    Sublinear Explicit Incremental Planar Voronoi Diagrams

    Full text link
    A data structure is presented that explicitly maintains the graph of a Voronoi diagram of NN point sites in the plane or the dual graph of a convex hull of points in three dimensions while allowing insertions of new sites/points. Our structure supports insertions in O~(N3/4)\tilde O (N^{3/4}) expected amortized time, where O~\tilde O suppresses polylogarithmic terms. This is the first result to achieve sublinear time insertions; previously it was shown by Allen et al. that Θ(N)\Theta(\sqrt{N}) amortized combinatorial changes per insertion could occur in the Voronoi diagram but a sublinear-time algorithm was only presented for the special case of points in convex position.Comment: 14 pages, 10 figures. Presented ant JCDCGGG 201
    corecore