计算机科学 > 计算几何
[提交于 2017年6月10日]
标题:Maximum Area Rectangle Separating Red and Blue Points
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Given a set R of n red points and a set B of m blue points, we study the problem of finding a rectangle that contains all the red points, the minimum number of blue points and has the largest area. We call such rectangle a maximum separating rectangle. We address the planar, axis-aligned (2D) version, and present an O(mlogm+n) time, O(m+n) space algorithm. The running time reduces to O(m + n) if the points are pre-sorted by one of the coordinates. We further prove that our algorithm is optimal in the decision model of computation.
提交历史
来自:Bogdan Armaselu[v1] 2017年6月10日 星期六 18:48:18 UTC