Implementation of polygon guarding algorithms for art gallery problems
Victor Klee introduce the art gallery problem during a conference in Stanford in August 1976 with that question: "How many guards are required to guard an art gallery?" In 1987, Ghosh provided an approximation algorithm for vertex guards problem that achieved O(log n) approximation ratio. In 2017, Bhattacharya et. al presented an approximation algorithm for guarding weak visibility polygons. In our paper, we first implement these algorithms and then we test them for different types of polygons. We compare their performance in terms of number of guards used by them. In the last part, we have provided a new algorithm that uses Ghosh's idea. Experiments show that this algorithm assigns near optimal guards for guarding the input polygons.
READ FULL TEXT