530 research outputs found
Geodesic-Preserving Polygon Simplification
Polygons are a paramount data structure in computational geometry. While the
complexity of many algorithms on simple polygons or polygons with holes depends
on the size of the input polygon, the intrinsic complexity of the problems
these algorithms solve is often related to the reflex vertices of the polygon.
In this paper, we give an easy-to-describe linear-time method to replace an
input polygon by a polygon such that (1)
contains , (2) has its reflex
vertices at the same positions as , and (3) the number of vertices
of is linear in the number of reflex vertices. Since the
solutions of numerous problems on polygons (including shortest paths, geodesic
hulls, separating point sets, and Voronoi diagrams) are equivalent for both
and , our algorithm can be used as a preprocessing
step for several algorithms and makes their running time dependent on the
number of reflex vertices rather than on the size of
Query-points visibility constraint minimum link paths in simple polygons
We study the query version of constrained minimum link paths between two
points inside a simple polygon with vertices such that there is at
least one point on the path, visible from a query point. The method is based on
partitioning into a number of faces of equal link distance from a point,
called a link-based shortest path map (SPM). Initially, we solve this problem
for two given points , and a query point . Then, the proposed
solution is extended to a general case for three arbitrary query points ,
and . In the former, we propose an algorithm with preprocessing
time. Extending this approach for the latter case, we develop an algorithm with
preprocessing time. The link distance of a - path between
, as well as the path are provided in time and , respectively, for the above two cases, where is the number of links
Memory-Constrained Algorithms for Simple Polygons
A constant-workspace algorithm has read-only access to an input array and may
use only O(1) additional words of bits, where is the size of
the input. We assume that a simple -gon is given by the ordered sequence of
its vertices. We show that we can find a triangulation of a plane straight-line
graph in time. We also consider preprocessing a simple polygon for
shortest path queries when the space constraint is relaxed to allow words
of working space. After a preprocessing of time, we are able to solve
shortest path queries between any two points inside the polygon in
time.Comment: Preprint appeared in EuroCG 201
Scalable Exact Visualization of Isocontours in Road Networks via Minimum-Link Paths
Isocontours in road networks represent the area that is reachable from a source within a given resource limit. We study the problem of computing accurate isocontours in realistic, large-scale networks. We propose isocontours represented by polygons with minimum number of segments that separate reachable and unreachable components of the network. Since the resulting problem is not known to be solvable in polynomial time, we introduce several heuristics that run in (almost) linear time and are simple enough to be implemented in practice. A key ingredient is a new practical linear-time algorithm for minimum-link paths in simple polygons. Experiments in a challenging realistic setting show excellent performance of our algorithms in practice, computing near-optimal solutions in a few milliseconds on average, even for long ranges
Weak Visibility Queries of Line Segments in Simple Polygons
Given a simple polygon P in the plane, we present new algorithms and data
structures for computing the weak visibility polygon from any query line
segment in P. We build a data structure in O(n) time and O(n) space that can
compute the visibility polygon for any query line segment s in O(k log n) time,
where k is the size of the visibility polygon of s and n is the number of
vertices of P. Alternatively, we build a data structure in O(n^3) time and
O(n^3) space that can compute the visibility polygon for any query line segment
in O(k + log n) time.Comment: 16 pages, 9 figures. A preliminary version of this paper appeared in
ISAAC 2012 and we have improved results in this full versio
- …