• Title/Summary/Keyword: 색 커버 개체

Search Result 1, Processing Time 0.017 seconds

An Algorithm for Computing a Minimum-Width Color-Spanning Rectangular Annulus (모든 색을 커버하는 최소 두께 직사각형 고리를 계산하는 알고리즘)

  • Bae, Sang Won
    • Journal of KIISE
    • /
    • v.44 no.3
    • /
    • pp.246-252
    • /
    • 2017
  • In this paper, we present an algorithm that computes a minimum-width color spanning axis-parallel rectangular annulus. A rectangular annulus is a closed region between a rectangle and its offset, and it is thus bounded by two rectangles called its outer and inner rectangles. The width of a rectangular annulus is determined by the distance between its outer and inner rectangles. Given n points in the plane each of which has one of the prescribed k colors, we call a rectangular annulus color spanning if it contains at least one point for each of the k colors. Prior to this work, there was no known exact algorithm that computes a minimum-width color-spanning rectangular annulus. Our algorithm is the first to solve this problem and it runs efficiently in $O((n-k)^3nlogn)$ time.