Abstract
We devise the following dynamic algorithms for both maintaining as well as querying for the visibility and weak visibility polygons amid vertex insertions and deletions to the simple polygon. A fully-dynamic algorithm for maintaining the visibility polygon of a fixed point located interior to the simple polygon amid vertex insertions and deletions to the simple polygon. The time complexity to update the visibility polygon of a point [Formula: see text] due to the insertion (resp. deletion) of vertex [Formula: see text] to (resp. from) the current simple polygon is expressed in terms of the number of combinatorial changes needed to the visibility polygon of [Formula: see text] due to the insertion (resp. deletion) of [Formula: see text]. An output-sensitive query algorithm to answer the visibility polygon query corresponding to any point [Formula: see text] in [Formula: see text] amid vertex insertions and deletions to the simple polygon. If [Formula: see text] is not exterior to the current simple polygon, then the visibility polygon of [Formula: see text] is computed. Otherwise, our algorithm outputs the visibility polygon corresponding to the exterior visibility of [Formula: see text]. An incremental algorithm to maintain the weak visibility polygon of a fixed-line segment located interior to the simple polygon amid vertex insertions to the simple polygon. The time complexity to update the weak visibility polygon of a line segment [Formula: see text] due to the insertion of vertex [Formula: see text] to the current simple polygon is expressed in terms of the sum of the number of combinatorial updates needed to the geodesic shortest path trees rooted at [Formula: see text] and [Formula: see text] due to the insertion of [Formula: see text]. An output-sensitive algorithm to compute the weak visibility polygon corresponding to any query line segment located interior to the simple polygon amid both the vertex insertions and deletions to the simple polygon. Each of these algorithms requires preprocessing the initial simple polygon. And, the algorithms that maintain the visibility polygon (resp. weak visibility polygon) compute the visibility polygon (resp. weak visibility polygon) with respect to the initial simple polygon during the preprocessing phase.
Submitted Version (Free)
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have