Efficiently Computing the Smallest Axis-Parallel Squares Spanning All Colors

Abstract:
For a set of colored points, a region is called extit{color-spanning} if it contains at least one point of each color. In this paper, we first consider the problem of maintaining extit{the smallest color-spanning interval} for a set of $n$ points with $k$ colors on the real line such that the insertion and deletion of an arbitrary point takes $O(log^2 n)$ worst-case time. Then, we exploit the data structure to show that there is an $O(nlog^2 n)$ time algorithm to compute extit{the smallest color-spanning square} for a set of $n$ points with $k$ colors in the plane. This is a new way to improve the $O(nk log n)$ time algorithm presented by Abellanasetal~citeAbellanas01smallestcolor-spanning} when $k=omega(log n)$. We also consider the problem of computing the smallest color-spanning square in a special case in which we have at most two points from each color. We present an $O(nlog n)$ time algorithm to solve the problem which improves the result presented by Arkinetal~citeArkin} by a factor of $log n$
Language:
English
Published:
Scientia Iranica, Volume:24 Issue: 3, 2017
Page:
3
magiran.com/p1710671  
دانلود و مطالعه متن این مقاله با یکی از روشهای زیر امکان پذیر است:
اشتراک شخصی
با عضویت و پرداخت آنلاین حق اشتراک یک‌ساله به مبلغ 1,390,000ريال می‌توانید 70 عنوان مطلب دانلود کنید!
اشتراک سازمانی
به کتابخانه دانشگاه یا محل کار خود پیشنهاد کنید تا اشتراک سازمانی این پایگاه را برای دسترسی نامحدود همه کاربران به متن مطالب تهیه نمایند!
توجه!
  • حق عضویت دریافتی صرف حمایت از نشریات عضو و نگهداری، تکمیل و توسعه مگیران می‌شود.
  • پرداخت حق اشتراک و دانلود مقالات اجازه بازنشر آن در سایر رسانه‌های چاپی و دیجیتال را به کاربر نمی‌دهد.
In order to view content subscription is required

Personal subscription
Subscribe magiran.com for 70 € euros via PayPal and download 70 articles during a year.
Organization subscription
Please contact us to subscribe your university or library for unlimited access!