We study the following variant of the well-known line-simplification problem: we are getting a (possibly infinite) sequence of points p 0 , p 1 , p 2 , . . . in the plane defining a polygonal path, and as we receive the points, we wish to maintain a simplification of the path seen so far. We study this problem in a streaming setting, where we only have a limited amount of storage, so that we cannot store all the points. We analyze the competitive ratio of our algorithms, allowing resource augmentation: we let our algorithm maintain a simplification with 2k (internal) points and compare the error of our simplification to the error of the optimal simplification with k Comput Geom (2010) 43: 497-515 points. We obtain the algorithms with O(1) competitive ratio for three cases: convex paths, where the error is measured using the Hausdorff distance (or Fréchet distance), xy-monotone paths, where the error is measured using the Hausdorff distance (or Fréchet distance), and general paths, where the error is measured using the Fréchet distance. In the first case the algorithm needs O(k) additional storage, and in the latter two cases the algorithm needs O(k 2 ) additional storage.
In this paper, we consider the problem of computing the visibility of a query point inside polygons with holes. The goal is to perform this computation efficiently per query with more cost in the preprocessing phase. Our algorithm is based on solutions in [13] and [2] proposed for simple polygons. In our solution, the preprocessing is done in time O(n 3 log(n)) to construct a data structure of size O(n 3 ). It is then possible to report the visibility polygon of any query point q in time O((1 + h ) log n + |V (q)|), in which n and h are the number of the vertices and holes of the polygon respectively, |V (q)| is the size of the visibility polygon of q, and h is an output and preprocessing sensitive parameter of at most min(h, |V (q)|). This is claimed to be the best query-time result on this problem so far.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.