98 research outputs found

    Efficient parallel implementations of approximation algorithms for guarding 1.5D terrains

    Get PDF
    In the 1.5D terrain guarding problem, an x-monotone polygonal line is dened by k vertices and a G set of terrain points, i.e. guards, and a N set of terrain points which guards are to observe (guard). This involves a weighted version of the guarding problem where guards G have weights. The goal is to determine a minimum weight subset of G to cover all the points in N, including a version where points from N have demands. Furthermore, another goal is to determine the smallest subset of G, such that every point in N is observed by the required number of guards. Both problems are NP-hard and have a factor 5 approximation [3, 4]. This paper will show that if the (1+ϵ)-approximate solver for the corresponding linear program is a computer, for any ϵ > 0, an extra 1+ϵ factor will appear in the final approximation factor for both problems. A comparison will be carried out the parallel implementation based on GPU and CPU threads with the Gurobi solver, leading to the conclusion that the respective algorithm outperforms the Gurobi solver on large and dense inputs typically by one order of magnitude

    A finite dominating set of cardinality O(k) and a witness set of cardinality O(n) for 1.5D terrain guarding problem

    Get PDF
    1.5 dimensional (1.5D) terrain is characterized by a piecewise linear curve. Locating minimum number of guards on the terrain (T) to cover/guard the whole terrain is known as 1.5D terrain guarding problem. Approximation algorithms and a polynomial-time approximation scheme have been presented for the problem. The problem has been shown to be NP-Hard. In the problem, the set of possible guard locations and the set of points to be guarded are uncountable. To solve the problem to optimality, a finite dominating set (FDS) of size O (n2) and a witness set of size O (n3) have been presented, where n is the number of vertices on T. We show that there exists an even smaller FDS of cardinality O (k) and a witness set of cardinality O(n), where k is the number of convex points. Convex points are vertices with the additional property that between any two convex points the piecewise linear curve representing the terrain is convex. Since it is always true that k≤ n for n≥ 2 and since it is possible to construct terrains such that n= 2 k, the existence of an FDS with cardinality O(k) and a witness set of cardinality of O (n) leads to the reduction of decision variables and constraints respectively in the zero-one integer programming formulation of the problem. © 2017, Springer Science+Business Media New York

    The Continuous 1.5{D} Terrain Guarding Problem: {D}iscretization, Optimal Solutions, and {PTAS}

    Get PDF
    In the NP-hard continuous 1.5D Terrain Guarding Problem (TGP) we are given an x-monotone chain of line segments in the plain (the terrain TT), and ask for the minimum number of guards (located anywhere on TT) required to guard all of TT. We construct guard candidate and witness sets G,W⊂TG, W \subset T of polynomial size, such that any feasible (optimal) guard cover G′⊆GG' \subseteq G for WW is also feasible (optimal) for the continuous TGP. This discretization allows us to: (1) settle NP-completeness for the continuous TGP; (2) provide a Polynomial Time Approximation Scheme (PTAS) for the continuous TGP using the existing PTAS for the discrete TGP by Gibson et al.; (3) formulate the continuous TGP as an Integer Linear Program (IP). Furthermore, we propose several filtering techniques reducing the size of our discretization, allowing us to devise an efficient IP-based algorithm that reliably provides optimal guard placements for terrains with up to 1000000 vertices within minutes on a standard desktop computer

    Efficient parallel implementations of approximation algorithms for guarding 1.5D terrains

    Full text link
    • …
    corecore