3 research outputs found

    Optimal Placement of Convex Polygons to Maximize Point Containment

    No full text
    Given a convex polygon P with m vertices and a set S of n points in the plane, we consider the problem of finding a placement of P that contains the maximum number of points in S. We allow both translation and rotation. Our algorithm is self-contained and utilizes the geometric properties of the containing regions in the parameter space of transformations. The algorithm requires O(nk² m² log(mk)) time and O(n + m) space, where k is the maximum number of points contained. This provides a linear improvement over the best previously known algorithm when k is large ( (n)) and a cubic improvement when k is small. We also show that the algorithm can be extended to solve bichromatic and general weighted variants of the problem

    Optimal Placement of Convex Polygons to Maximize Point Containment

    No full text
    Given a convex polygon P with m vertices and a set S of n points in the plane, we consider the problem of finding a placement of P that contains the maximum number of points in S. We allow both translation and rotation. Our algorithm is self-contained and utilizes the geometric properties of the containing regions in the parameter space of transformations. The algorithm requires O(nk 2 m 2 log(mk)) time and O(n +m) space, where k is the maximum number of points contained. This provides a linear improvement over the best previously known algorithm when k is large (\Theta(n)) and a cubic improvement when k is small. We also show that the algorithm can be extended to solve bichromatic and general weighted variants of the problem. 1 Introduction A planar rigid motion ae is an affine transformation of the plane that preserves distance (and therefore angles and area also). We say that a polygon P contains a set S of points if every point in S lies on P or in the interior of P . In th..
    corecore