IDEAS home Printed from https://ideas.repec.org/a/spr/jcomop/v29y2015i3d10.1007_s10878-014-9764-7.html
   My bibliography  Save this article

Expected computations on color spanning sets

Author

Listed:
  • Chao Li

    (Chinese Academy of Sciences
    Graduate University of the Chinese Academy of Sciences)

  • Chenglin Fan

    (Chinese Academy of Sciences)

  • Jun Luo

    (Chinese Academy of Sciences
    Huawei Noah’s Ark Laboratory)

  • Farong Zhong

    (Zhejiang Normal University)

  • Binhai Zhu

    (Montana State University)

Abstract

Given a set of $$n$$ n points, each is painted by one of the $$k$$ k given colors, we want to choose $$k$$ k points with distinct colors to form a color spanning set. For each color spanning set, we can construct the convex hull and the smallest axis-aligned enclosing rectangle, etc. Assuming that each point is chosen independently and identically from the subset of points of the same color, we propose an $$O(n^2)$$ O ( n 2 ) time algorithm to compute the expected area of convex hulls of the color spanning sets and an $$O(n^2)$$ O ( n 2 ) time algorithm to compute the expected perimeter of convex hulls of the color spanning sets. For the expected perimeter (resp. area) of the smallest perimeter (resp. area) axis-aligned enclosing rectangles of the color spanning sets, we present an $$O(n\log n)$$ O ( n log n ) (resp. $$O(n^2)$$ O ( n 2 ) ) time algorithm. We also propose a simple approximation algorithm to compute the expected diameter of the color spanning sets. For the expected distance of the closest pair, we show that it is $$\#$$ # P-complete to compute and there exists no polynomial time $$2^{n^{1-\varepsilon }}$$ 2 n 1 - ε approximation algorithm to compute the probability that the closest pair distance of all color spanning sets equals to a given value $$d$$ d unless $$P=NP$$ P = N P , even in one dimension and when each color paints two points.

Suggested Citation

  • Chao Li & Chenglin Fan & Jun Luo & Farong Zhong & Binhai Zhu, 2015. "Expected computations on color spanning sets," Journal of Combinatorial Optimization, Springer, vol. 29(3), pages 589-604, April.
  • Handle: RePEc:spr:jcomop:v:29:y:2015:i:3:d:10.1007_s10878-014-9764-7
    DOI: 10.1007/s10878-014-9764-7
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10878-014-9764-7
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10878-014-9764-7?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:jcomop:v:29:y:2015:i:3:d:10.1007_s10878-014-9764-7. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.