Skip to main content

Computing Maximal Layers of Points in \(E^{f(n)}\)

  • Conference paper
  • First Online:
LATIN 2016: Theoretical Informatics (LATIN 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9644))

Included in the following conference series:

  • 953 Accesses

Abstract

In this paper we present a randomized algorithm for computing the collection of maximal layers for a point set in \(E^{k}\) (\(k = f(n)\)). The input to our algorithm is a point set \(P = \{p_1,\ldots ,p_n\}\) with \(p_i \in E^{k}\). The proposed algorithm achieves a runtime of \(O\left( kn^{2 - {1 \over \log {k}} + \log _k{\left( 1 + {2 \over {k+1}}\right) }}\log {n}\right) \) when P is a random order and a runtime of \(O(k^2 n^{3/2 + (\log _{k}{(k-1)})/2}\log {n})\) for an arbitrary P. Both bounds hold in expectation. Additionally, the run time is bounded by \(O(kn^2)\) in the worst case. This is the first non-trivial algorithm whose run-time remains polynomial whenever f(n) is bounded by some polynomial in n while remaining sub-quadratic in n for constant k (in expectation). The algorithm is implemented using a new data-structure for storing and answering dominance queries over the set of incomparable points.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    We have restricted the sampling set to \([0,1]^k\) in order to simplify our analysis. The results hold for any arbitrary compact subset of \(E^k\).

  2. 2.

    However, we need to modify the procedure for computing a linear extension since the assumption that no two point share a coordinate may longer hold. In this case we can simply take the sorted order of the points according to the sum of their coordinates.

References

  1. Winkler, P.: Random orders. Order 1–4, 317–331 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  2. Brightwell, G.: Random \(k\)-dimensional orders: width and number of linear extensions. Order 9, 333–342 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  3. Jensen, M.T.: Reducing the run-time complexity of multiobjective EAs: the NSGA-II and other algorithms. IEEE TEC 7–5, 503–515 (2003)

    Google Scholar 

  4. Kung, H.T., Luccio, F., Preparata, F.P.: On finding the maxima of a set of vectors. J. ACM 22–4, 469–476 (1975)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bentley, J.L., Kung, H.T., Schkolnick, M., Thompson, C.D.: On the average number of maxima in a set of vectors and applications. J. ACM 25–4, 536–543 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  6. Yao, F.F.: On Finding the maximal elements in a set of plane vectors. Computer Science Department of Report, University of Illinois at Urbana-Champaign, Urbana, Illinois (1974)

    Google Scholar 

  7. Bentley, J.L.: Multidimensional divide-and-conquer. Commun. ACM 23–4, 214–229 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  8. Preparata, P., Shamos, M.: Computational Geometry: An Introduction. Texts and Monographs in Computer Science. Springer, Berlin (1985)

    Book  MATH  Google Scholar 

  9. Overmars, M.H.: The Design of Dynamic Data Structures. LNCS, vol. 156. Springer, New York, Tokyo (1983)

    MATH  Google Scholar 

  10. Matoušek, J.: Computing dominance in \(E^n\). Inf. Process. Lett. 38, 277–278 (1991)

    Article  MATH  Google Scholar 

  11. Impagliazzo, R., Lovett, S., Paturi, R., Schneider, S.: 0–1 Integer Linear Programming with a Linear Number of Constraints, eprint arXiv:1401.5512 (2014)

  12. Nielsen, F.: Output-sensitive peeling of convex and maximal layers. Inf. Process. Lett. 59, 255–259 (1996)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Indranil Banerjee .

Editor information

Editors and Affiliations

Appendix

Appendix

1.1 Proof of Lemma 3

Proof

Recall that T is a linear extension of P. Since p precedes q in T, \(\mu (p) > \mu (q)\). Hence, \(\exists \) \(j^{'} \in \{1,\ldots ,k\}\) such that \(p[j'] > q[j']\). Let \(j' = {\text {argmax}}_{1 \le j \le k}{p[j]}\). We compute the probability \({\text {Pr}}[p[j] > q[j]\ |\ \mu (p) > \mu (q)]\) in two parts over the disjoint sets \(\{j = j^{'}\}\) and \(\{j \ne j^{'}\}\):

$$\begin{aligned} {\text {Pr}}[p[j] > q[j]\ |\ \mu (p) > \mu (q)]&= {\text {Pr}}[p[j] > q[j]\ |\ j = j^{'}, \mu (p) > \mu (q)]{\text {Pr}}[j = j^{'}] \nonumber \\&+ {\text {Pr}}[p[j] > q[j]\ |\ j \not = j^{'}, \mu (p) > \mu (q)]{\text {Pr}}[j \not = j^{'}]\nonumber \\&= 1{1 \over k} + \left( 1 - {1 \over 2}{\mu (q) \over \mu (p)}\right) \left( 1 - {1 \over k}\right) \end{aligned}$$
(3)

Since,

$$\begin{aligned} {\text {Pr}}[p[j] > q[j]\ |\ j \not = j^{'}, \mu (p) > \mu (q)]&= {{(\mu (p) - \mu (q))\mu (q) + {\mu (q)^2 \over 2}} \over {\mu (p)\mu (q)}}=1 - {1 \over 2}{\mu (q) \over \mu (p)} \end{aligned}$$

This follows from the fact that p[j] and q[j] are independent random variables uniformly distributed over \([0, \mu (p)]\) and \([0, \mu (q)]\) (given \(\mu (p) > \mu (q)\)) respectively. In the set \(\{j = j^{'}\}\) clearly \(p[j] > q[j]\). However, in the set \(\{j \ne j^{'}\}\) the probability that \(p[j] > q[j]\) is \(\left( 1 - {1 \over 2}{\mu (q) \over \mu (p)}\right) \). We note that \(\mu (p), \mu (q)\) are themselves random variables. More importantly they are i.i.d random variables having the following distribution:

$$\begin{aligned} {\text {Pr}}[\mu (p) < t] = t^{k} \end{aligned}$$

on the interval [0, 1]. This follows from how points in P are constructed. We take the expectation of both side of Eq. 3 over the event space generated by \(\mu (p), \mu (q)\) on the set \(\{\mu (p) > \mu (q)\}\):

$$\begin{aligned} {\text {Pr}}[p[j] > q[j]\ |\ \mu (p) > \mu (q)]&= 1 - {1 \over 2}\mathbb {E}\left[ {\mu (q) \over \mu (p)}\ \mid \ \mu (p) > \mu (q)\right] \left( 1 - {1 \over k}\right) \\&= 1 - {1 \over 2}\left( {k \over {k+1}}\right) \left( 1 - {1 \over k}\right) = 1 - {1 \over 2}\left( {{k - 1} \over {k+1}}\right) \end{aligned}$$

Now, let us compute, \(\mathbb {E}\left[ {\mu (q) \over \mu (p)}\ \mid \ \mu (p) > \mu (q)\right] \). Recall that \(\mu (p) = max_{1 \le i \le k}{p[j]}\). So the distribution function of \(\mu (p)\) is,

$$\begin{aligned} F[\mu (p)] = {\text {Pr}}[\mu (p) < t] = {\text {Pr}}\left[ \bigwedge _{1\le i\le k}{p[i] < t}\right] = \prod _{1\le i\le k}{\text {Pr}}[p[i] < t] = t^k \end{aligned}$$

Where the second equality comes from that fact that each component of p are independent and identically distributed on [0, 1] with uniform probability. Hence,

$$\begin{aligned} \mathbb {E}\left[ {\mu (q) \over \mu (p)}\ \mid \ \mu (p) > \mu (q)\right]&= \int _{\mu (p) > \mu (q)}{{\mu (q) \over \mu (p)}}dF[\mu (p)]dF[\mu (q)] \\&= {{k^2} \over {{\text {Pr}}[\mu (p) > \mu (q)]}}\int _{0}^{1}{\int _{0}^{\mu (p)}{\mu (p)^{k-2}\mu (q)^{k}}d\mu (p)d\mu (p)} \\&= {k \over {k+1}} \end{aligned}$$

A similar argument can be used to prove the second claim.    \(\square \)

1.2 Solving a(w, d)

To simplify our calculations we modify the recurrence slightly: With \(a(w,d) = k^d b(w, d)\), the recurrence equation becomes,

$$\begin{aligned} b(w,d) = {1 \over k^d}b(w-1,d-1) + {(1 - {1 \over k^d})}b(w-1,d) \end{aligned}$$

Let, \(G_d(z) = \sum _{w = 0}^{\infty }{b(w,d)z^w}\). We note that \(b(w, d) = 0\) when \(w \le d\). Then we have,

$$\begin{aligned} G_d(z)&= {z \over k^d}G_{d-1}(z) + z(1 - {1 \over k^d})G_d(z)\\&= {z \over {k^d (1 - (1 - {1 \over k^d})z)}}G_{d-1}(z) \\&\ldots \\&= {{z^d} \over {\prod _{i = 1}^{d}{k^i(1 - (1 - {1 \over k^i})z)}}}G_0(z) \end{aligned}$$

But, \(G_0(z) = \sum _{w = 0}^{\infty }{b(w, 0)z^w} = \sum _{w = 1}^{\infty }{z^w} = {z \over {1 - z}}\) as \(b(w, 0) = a(w, 0) = 1\) when \(w \ge 1\). Hence,

$$\begin{aligned} b(w, d)&= k^{-d(d + 1)/2}[z^{w - d - 1}] G_d(z)\nonumber \\&= k^{-d(d + 1)/2}[z^{w - d - 1}]{{1} \over {(1 - z)\prod _{i = 1}^{d}{(1 - (1 - k^{-i})z)}}} \end{aligned}$$
(4)

where the notation \([z^i]p(z)\) means the coefficient of \(z^i\) in the polynomial p(z) as usual. Using partial fractions: Let,

$$\begin{aligned} {{1} \over {(1 - z)\prod _{i = 1}^{d}{(1 - (1 - k^{-1})z)}}} \equiv {\beta _0 \over {1 - z}} + \sum _{i = 1}^{d}{\beta _i \over {(1 - (1 - k^{-i})z)}} \end{aligned}$$

For which we get the following solution,

$$\begin{aligned}&\beta _0 = k^{d(d + 1)/2} \\&\beta _i = {{k^{d(d + 1)/2}(1 - k^{-i})^d} \over {\prod _{j \ne i, j \ge 1}^{d}{(1 - k^{j - i})}}} \end{aligned}$$

Substituting these in Eq. 4 above we get, \(b(w,d) = 1 - \sum _{i = 1}^{d}{{(1 - k^{-i})^{w - 1}}\over {\prod _{j = 1, j \ne i}^{d}{(1 - k^{j - i})}}}\), which gives us the desired result for a(w, d).

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Banerjee, I., Richards, D. (2016). Computing Maximal Layers of Points in \(E^{f(n)}\) . In: Kranakis, E., Navarro, G., Chávez, E. (eds) LATIN 2016: Theoretical Informatics. LATIN 2016. Lecture Notes in Computer Science(), vol 9644. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-49529-2_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-49529-2_11

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-49528-5

  • Online ISBN: 978-3-662-49529-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics