Reputation: 21
Given a n*n grid which contains P points, what is the total minimum cost to cover P points using rectangles which must contain exactly K points, cost being the perimeter of rectangles.
1. This problem seems similar to polygon triangulation with an extra constraint being that each small rectangles should contain exactly K number of points.
Upvotes: 1
Views: 369
Reputation: 4406
I suspect solving your problem exactly is quite difficult. One possible approach is to use a quad-tree structure, and cease splitting when the next split gets too small with respect to k. Although, as Thomas says in a comment, it is not clear how to achieve exactly k points in each cell.
Upvotes: 1