1,062 research outputs found

    Chasing Puppies: Mobile Beacon Routing on Closed Curves

    Get PDF
    We solve an open problem posed by Michael Biro at CCCG 2013 that was inspired by his and others' work on beacon-based routing. Consider a human and a puppy on a simple closed curve in the plane. The human can walk along the curve at bounded speed and change direction as desired. The puppy runs with unbounded speed along the curve as long as the Euclidean straight-line distance to the human is decreasing, so that it is always at a point on the curve where the distance is locally minimal. Assuming that the curve is smooth (with some mild genericity constraints) or a simple polygon, we prove that the human can always catch the puppy in finite time.Comment: Full version of a SOCG 2021 paper, 28 pages, 27 figure

    Chromatic kk-Nearest Neighbor Queries

    Get PDF
    Let P be a set of n colored points. We develop efficient data structures that store P and can answer chromatic k-nearest neighbor (k-NN) queries. Such a query consists of a query point q and a number k, and asks for the color that appears most frequently among the k points in P closest to q. Answering such queries efficiently is the key to obtain fast k-NN classifiers. Our main aim is to obtain query times that are independent of k while using near-linear space. We show that this is possible using a combination of two data structures. The first data structure allow us to compute a region containing exactly the k-nearest neighbors of a query point q, and the second data structure can then report the most frequent color in such a region. This leads to linear space data structures with query times of O(n1/2 log n) for points in R1, and with query times varying between O(n2/3 log2/3 n) and O(n5/6 polylog n), depending on the distance measure used, for points in R2. These results can be extended to work in higher dimensions as well. Since the query times are still fairly large we also consider approximations. If we are allowed to report a color that appears at least (1 - ϵ)f*times, where f*is the frequency of the most frequent color, we obtain a query time of O(log n + log log 1 1-ϵ n) in R1 and expected query times ranging between O (n1/2ϵ-3/2) and O(n1/2ϵ-5/2) in R2 using near-linear space (ignoring polylogarithmic factors)

    A Recipe for Symbolic Geometric Computing: Long Geometric Product, BREEFS and Clifford Factorization

    Full text link
    In symbolic computing, a major bottleneck is middle expression swell. Symbolic geometric computing based on invariant algebras can alleviate this difficulty. For example, the size of projective geometric computing based on bracket algebra can often be restrained to two terms, using final polynomials, area method, Cayley expansion, etc. This is the "binomial" feature of projective geometric computing in the language of bracket algebra. In this paper we report a stunning discovery in Euclidean geometric computing: the term preservation phenomenon. Input an expression in the language of Null Bracket Algebra (NBA), by the recipe we are to propose in this paper, the computing procedure can often be controlled to within the same number of terms as the input, through to the end. In particular, the conclusions of most Euclidean geometric theorems can be expressed by monomials in NBA, and the expression size in the proving procedure can often be controlled to within one term! Euclidean geometric computing can now be announced as having a "monomial" feature in the language of NBA. The recipe is composed of three parts: use long geometric product to represent and compute multiplicatively, use "BREEFS" to control the expression size locally, and use Clifford factorization for term reduction and transition from algebra to geometry. By the time this paper is being written, the recipe has been tested by 70+ examples from \cite{chou}, among which 30+ have monomial proofs. Among those outside the scope, the famous Miquel's five-circle theorem \cite{chou2}, whose analytic proof is straightforward but very difficult symbolic computing, is discovered to have a 3-termed elegant proof with the recipe

    Terrain Prickliness: Theoretical Grounds for High Complexity Viewsheds

    Get PDF
    An important task in terrain analysis is computing viewsheds. A viewshed is the union of all the parts of the terrain that are visible from a given viewpoint or set of viewpoints. The complexity of a viewshed can vary significantly depending on the terrain topography and the viewpoint position. In this work we study a new topographic attribute, the prickliness, that measures the number of local maxima in a terrain from all possible angles of view. We show that the prickliness effectively captures the potential of terrains to have high complexity viewsheds. We present near-optimal algorithms to compute it for TIN terrains, and efficient approximate algorithms for raster DEMs. We validate the usefulness of the prickliness attribute with experiments in a large set of real terrains

    Efficient Fréchet distance queries for segments

    Get PDF
    We study the problem of constructing a data structure that can store a two-dimensional polygonal curve P, such that for any query segment ab one can efficiently compute the Fréchet distance between P and ab. First we present a data structure of size O(n log n) that can compute the Fréchet distance between P and a horizontal query segment ab in O(log n) time, where n is the number of vertices of P. In comparison to prior work, this significantly reduces the required space. We extend the type of queries allowed, as we allow a query to be a horizontal segment ab together with two points s, t ∈ P (not necessarily vertices), and ask for the Fréchet distance between ab and the curve of P in between s and t. Using O(n log2 n) storage, such queries take O(log3 n) time, simplifying and significantly improving previous results. We then generalize our results to query segments of arbitrary orientation. We present an O(nk3+ϵ + n2) size data structure, where k ∈ [1, n] is a parameter the user can choose, and ϵ > 0 is an arbitrarily small constant, such that given any segment ab and two points s, t ∈ P we can compute the Fréchet distance between ab and the curve of P in between s and t in O((n/k) log2 n + log4 n) time. This is the first result that allows efficient exact Fréchet distance queries for arbitrarily oriented segments. We also present two applications of our data structure. First, we show that our data structure allows us to compute a local δ-simplification (with respect to the Fréchet distance) of a polygonal curve in O(n5/2+ϵ) time, improving a previous O(n3) time algorithm. Second, we show that we can efficiently find a translation of an arbitrary query segment ab that minimizes the Fréchet distance with respect to a subcurve of P

    Mapping Multiple Regions to the Grid with Bounded Hausdorff Distance

    Get PDF
    We study a problem motivated by digital geometry: given a set of disjoint geometric regions, assign each region Ri a set of grid cells Pi, so that Pi is connected, similar to Ri, and does not touch any grid cell assigned to another region. Similarity is measured using the Hausdorff distance. We analyze the achievable Hausdorff distance in terms of the number of input regions, and prove asymptotically tight bounds for several classes of input regions

    Geometric computing for freeform architecture

    Get PDF
    Geometric computing has recently found a new field of applications, namely the various geometric problems which lie at the heart of rationalization and construction-aware design processes of freeform architecture. We report on our work in this area, dealing with meshes with planar faces and meshes which allow multilayer constructions (which is related to discrete surfaces and their curvatures), triangles meshes with circle-packing properties (which is related to conformal uniformization), and with the paneling problem. We emphasize the combination of numerical optimization and geometric knowledge.
    corecore