Degree of Convexity and Expected Distances in Polygons
Abstract
We present an algorithm for computing the so-called Beer-index of a polygon in time, where is the number of corners. The polygon may have holes. The Beer-index is the probability that two points chosen independently and uniformly at random in can see each other. Given a finite set of points in a simple polygon , we also show how the number of pairs in that see each other can be computed in time, where is a constant. We likewise study the problem of computing the expected geodesic distance between two points chosen independently and uniformly at random in a simple polygon . We show how the expected -distance can be computed in optimal time by a conceptually very simple algorithm. We then describe an algorithm that outputs a closed-form expression for the expected -distance in time.
Keywords
Cite
@article{arxiv.2208.07106,
title = {Degree of Convexity and Expected Distances in Polygons},
author = {Mikkel Abrahamsen and Viktor Fredslund-Hansen},
journal= {arXiv preprint arXiv:2208.07106},
year = {2022}
}
Comments
29 pages, 17 figures. This version corrects an error in the running time in Theorem 2 and Corollary 3 from the first version