Skip to main content

Constant-Time Local Computation Algorithms

  • Conference paper
  • First Online:

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

Abstract

Local computation algorithms (LCAs) produce small parts of a single solution to a given search problem using time and space sublinear in the size of the input. In this work we present LCAs whose time complexity (and usually also space complexity) is independent of the input size. Specifically, we give (1) a \((1-\epsilon )\)-approximation LCA to the maximal weighted base of a graphic matroid (i.e., maximal acyclic edge set), (2) LCAs for approximating multicut and integer multicommodity flow on trees, and (3) a local reduction of weighted matching to any unweighted matching LCA, such that the running time of the weighted matching LCA is also independent of the edge weight function.

Y. Mansour—Supported in part by a grant from the Israel Science Foundation, by a grant from United States-Israel Binational Science Foundation (BSF), by a grant from the Israeli Ministry of Science (MoS) and the Israeli Centers of Research Excellence (I-CORE) program (Center No. 4/11).

B. Patt-Shamir—Supported in part by the Israel Science Foundation (grant No. 1444/14) and by the Israel Ministry of Science and Technology.

S. Vardi—Supported in part by the Google Europe Fellowship in Game Theory.

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

Buying options

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

Learn about institutional subscriptions

Notes

  1. 1.

    We assume the standard uniform-cost RAM model, in which the word size is \(O(\log {n})\) bits, where n is the input size.

  2. 2.

    The failure probability of an LCA A (cf. [7]) is the probability, taken over coin flips of A, that the running time of A for any query exceeds its stated running time (and not the probability that A errs).

  3. 3.

    We typically assume that vertex degrees are bounded by a constant.

  4. 4.

    We note that while our algorithm for MWM runs in constant time, independently of the size of the graph and of the edge weights, its approximation guarantee is much worse than that of [2], whose approximation factor is \((1-\epsilon )\).

  5. 5.

    In case of a randomized algorithm, expectation is over its random choices.

  6. 6.

    Note that the LCA is not allowed to deviate from the enduring memory bound.

  7. 7.

    The ratio is \(\frac{1}{4}\) when all capacities are even, and it tends to \(\frac{1}{4}\) as \(c_{\min }\rightarrow \infty \). For \(c_{\min }=1\) the approximation ratio is 0.

References

  1. Alon, N., Rubinfeld, R., Vardi, S., Xie, N.: Space-efficient local computation algorithms. In: Proceedings of the 22nd ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 1132–1139 (2012)

    Google Scholar 

  2. Even, G., Medina, M., Ron, D.: Deterministic stateless centralized local algorithms for bounded degree graphs. In: Schulz, A.S., Wagner, D. (eds.) ESA 2014. LNCS, vol. 8737, pp. 394–405. Springer, Heidelberg (2014)

    Google Scholar 

  3. Garg, N., Vazirani, V.V., Yannakakis, M.: Primal-dual approximation algorithms for integral flow and multicut in trees. Algorithmica 18(1), 3–20 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  4. Linial, N.: Locality in distributed graph algorithms. SIAM J. Comput. 21(1), 193–201 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  5. Lotker, Z., Patt-Shamir, B., Rosén, A.: Distributed approximate matching. SIAM J. Comput. 39(2), 445–460 (2009)

    Article  MATH  MathSciNet  Google Scholar 

  6. Mansour, Y., Rubinstein, A., Vardi, S., Xie, N.: Converting online algorithms to local computation algorithms. In: Czumaj, A., Mehlhorn, K., Pitts, A., Wattenhofer, R. (eds.) ICALP 2012, Part I. LNCS, vol. 7391, pp. 653–664. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  7. Mansour, Y., Vardi, S.: A local computation approximation scheme to maximum matching. In: Raghavendra, P., Raskhodnikova, S., Jansen, K., Rolim, J.D.P. (eds.) RANDOM 2013 and APPROX 2013. LNCS, vol. 8096, pp. 260–273. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  8. Nešetřil, J., Milková, E., Nešetřilová, H.: Otakar Borůvka on minimum spanning tree problem: Translation of both the 1926 papers, comments, history. Discrete Math. 233(1), 3–36 (2001)

    MATH  MathSciNet  Google Scholar 

  9. Nguyen, H.N., Onak, K.: Constant-time approximation algorithms via local improvements. In: Proceedings of the 49th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pp. 327–336 (2008)

    Google Scholar 

  10. Panconesi, A., Rizzi, R.: Some simple distributed algorithms for sparse networks. Distrib. Comput. 14(2), 97–100 (2001)

    Article  Google Scholar 

  11. Reingold, O., Vardi, S.: New techniques and tighter bounds for local computation algorithms (2015). Under submission

    Google Scholar 

  12. Rubinfeld, R., Tamir, G., Vardi, S., Xie, N.: Fast local computation algorithms. In: Proceedings of the 2nd Symposium on Innovations in Computer Science (ICS), pp. 223–238 (2011)

    Google Scholar 

  13. Suomela, J.: Survey of local algorithms. ACM Comput. Surv. 45(2), 24 (2013)

    Article  Google Scholar 

  14. Tarjan, R.E.: Data Structures and Network Algorithms. Society for Industrial and Applied Mathematics, Philadelphia (1983)

    Book  Google Scholar 

  15. Uehara, R., Chen, Z.-Z.: Parallel approximation algorithms for maximum weighted matching in general graphs. In: Watanabe, O., Hagiya, M., Ito, T., Leeuwen, J., Mosses, P.D. (eds.) TCS 2000. LNCS, vol. 1872, pp. 84–98. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  16. Vazirani, V.V.: Approximation Algorithms. Springer, Heidelberg (2001)

    Google Scholar 

  17. Wattenhofer, M., Wattenhofer, R.: Distributed weighted matching. In: Guerraoui, R. (ed.) DISC 2004. LNCS, vol. 3274, pp. 335–348. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  18. Yoshida, Y., Yamamoto, M., Ito, H.: Improved constant-time approximation algorithms for maximum matchings and other optimization problems. SIAM J. Comput. 41(4), 1074–1093 (2012)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the anonymous reviewers for their useful feedback.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shai Vardi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Mansour, Y., Patt-Shamir, B., Vardi, S. (2015). Constant-Time Local Computation Algorithms. In: Sanità, L., Skutella, M. (eds) Approximation and Online Algorithms. WAOA 2015. Lecture Notes in Computer Science(), vol 9499. Springer, Cham. https://doi.org/10.1007/978-3-319-28684-6_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-28684-6_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-28683-9

  • Online ISBN: 978-3-319-28684-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics