کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
429292 687171 2009 10 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Bichromatic separability with two boxes: A general approach
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Bichromatic separability with two boxes: A general approach
چکیده انگلیسی

Let S be a set of n points on the plane in general position such that its elements are colored red or blue. We study the following problem: Find a largest subset of S which can be enclosed by the union of two, not necessarily disjoint, axis-aligned rectangles R and B such that R (resp. B) contains only red (resp. blue) points. We prove that this problem can be solved in O(n2logn) time and O(n) space. Our approach is based on solving some instances of Bentley's maximum-sum consecutive subsequence problem. We introduce the first known data structure to dynamically maintain the optimal solution of this problem. We show that our techniques can be used to efficiently solve a more general class of problems in data analysis.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Algorithms - Volume 64, Issues 2–3, April–July 2009, Pages 79-88