[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Time vs. Information Tradeoffs for Leader Election in Anonymous Trees

Published: 06 March 2017 Publication History

Abstract

Leader election is one of the fundamental problems in distributed computing. It calls for all nodes of a network to agree on a single node, called the leader. If the nodes of the network have distinct labels, then agreeing on a single node means that all nodes have to output the label of the elected leader. If the nodes of the network are anonymous, the task of leader election is formulated as follows: every node v of the network must output a simple path, which is coded as a sequence of port numbers, such that all these paths end at a common node, the leader. In this article, we study deterministic leader election in anonymous trees.
Our aim is to establish tradeoffs between the allocated time τ and the amount of information that has to be given a priori to the nodes to enable leader election in time τ in all trees for which leader election in this time is at all possible. Following the framework of algorithms with advice, this information (a single binary string) is provided to all nodes at the start by an oracle knowing the entire tree. The length of this string is called the size of advice. For a given time τ allocated to leader election, we give upper and lower bounds on the minimum size of advice sufficient to perform leader election in time τ.
For most values of τ, our upper and lower bounds are either tight up to multiplicative constants, or they differ only by a logarithmic factor. Let T be an n-node tree of diameter diamD. While leader election in time diam can be performed without any advice, for time diam − 1 we give tight upper and lower bounds of Θ(log D). For time diam − 2 we give tight upper and lower bounds of Θ(log D) for even values of diam, and tight upper and lower bounds of Θ(log n) for odd values of diam. Moving to shorter time, in the interval [β · diam, diam − 3] for constant β > 1/2, we prove an upper bound of O(nlog n/D) and a lower bound of Ω(n/D), the latter being valid whenever diam is odd or when the time is at most diam − 4. Hence, with the exception of the special case when diam is even and time is exactly diam − 3, our bounds leave only a logarithmic gap in this time interval. Finally, for time α · diam for any constant α < 1/2 (except for the case of very small diameters), we again give tight upper and lower bounds, this time Θ(n).

References

[1]
Serge Abiteboul, Stephen Alstrup, Haim Kaplan, Tova Milo, and Theis Rauhe. 2006. Compact labeling scheme for ancestor queries. SIAM J. Comput. 35, 6 (2006), 1295--1309.
[2]
Alfred V. Aho, John E. Hopcroft, and Jeffrey D. Ullman. 1983. Data Structures and Algorithms. Addison-Wesley.
[3]
Dana Angluin. 1980. Local and global properties in networks of processors (extended abstract). In Proceedings of the 12th Annual ACM Symposium on Theory of Computing. 82--93.
[4]
Hagit Attiya and Marc Snir. 1991. Better computing on the anonymous ring. J. Algorithms 12, 2 (1991), 204--238.
[5]
Hagit Attiya, Marc Snir, and Manfred K. Warmuth. 1988. Computing on an anonymous ring. J. ACM 35, 4 (1988), 845--875.
[6]
Hans-Joachim Böckenhauer, Dennis Komm, Rastislav Královic, Richard Královic, and Tobias Mömke. 2009. On the advice complexity of online problems. In Proceedings of the 20th International Symposium on Algorithms and Computation (ISAAC’09). 331--340.
[7]
Paolo Boldi, Shella Shammah, Sebastiano Vigna, Bruno Codenotti, Peter Gemmell, and Janos Simon. 1996. Symmetry breaking in anonymous networks: characterizations. In Proceedings of the 4th Israel Symposium on Theory of Computing and Systems (ISTCS’96). 16--26.
[8]
Paolo Boldi and Sebastiano Vigna. 1999. Computing anonymously with arbitrary knowledge. In Proceedings of the 18th Annual ACM Symposium on Principles of Distributed Computing (PODC’99). 181--188.
[9]
James E. Burns. 1980. A Formal Model for Message Passing Systems. Technical Report 91. Indiana University.
[10]
Flavio Chierichetti. 2012. Personal communication.
[11]
Dariusz Dereniowski and Andrzej Pelc. 2012. Drawing maps with advice. J. Parallel Distrib. Comput. 72, 2 (2012), 132--143.
[12]
Dariusz Dereniowski and Andrzej Pelc. 2014. Leader election for anonymous asynchronous agents in arbitrary networks. Distrib. Comput. 27, 1 (2014), 21--38.
[13]
Stefan Dobrev, Rastislav Královic, and Dana Pardubská. 2009. Measuring the problem-relevant information in input. ITA 43, 3 (2009), 585--613.
[14]
Stefan Dobrev and Andrzej Pelc. 2004. Leader election in rings with nonunique labels. Fundam. Inform. 59, 4 (2004), 333--347. http://content.iospress.com/articles/fundamenta-informaticae/fi59-4-02
[15]
Yuval Emek, Pierre Fraigniaud, Amos Korman, and Adi Rosén. 2011. Online computation with advice. Theor. Comput. Sci. 412, 24 (2011), 2642--2656.
[16]
Paola Flocchini, Evangelos Kranakis, Danny Krizanc, Flaminia L. Luccio, and Nicola Santoro. 2004. Sorting and election in anonymous asynchronous rings. J. Parallel Distrib. Comput. 64, 2 (2004), 254--265.
[17]
Pierre Fraigniaud, Cyril Gavoille, David Ilcinkas, and Andrzej Pelc. 2009. Distributed computing with advice: Information sensitivity of graph coloring. Distrib. Comput. 21, 6 (2009), 395--403.
[18]
Pierre Fraigniaud, David Ilcinkas, and Andrzej Pelc. 2008. Tree exploration with advice. Inf. Comput. 206, 11 (2008), 1276--1287.
[19]
Pierre Fraigniaud, David Ilcinkas, and Andrzej Pelc. 2010a. Communication algorithms with advice. J. Comput. Syst. Sci. 76, 3--4 (2010), 222--232.
[20]
Pierre Fraigniaud, Amos Korman, and Emmanuelle Lebhar. 2010b. Local MST computation with short advice. Theory Comput. Syst. 47, 4 (2010), 920--933.
[21]
Greg N. Frederickson and Nancy A. Lynch. 1987. Electing a leader in a synchronous ring. J. ACM 34, 1 (1987), 98--115.
[22]
Emanuele G. Fusco and Andrzej Pelc. 2011. Trade-offs between the size of advice and broadcasting time in trees. Algorithmica 60, 4 (2011), 719--734.
[23]
Emanuele G. Fusco and Andrzej Pelc. 2015. Knowledge, level of symmetry, and time of leader election. Distrib. Comput. 28, 4 (2015), 221--232.
[24]
Emanuele Guido Fusco, Andrzej Pelc, and Rossella Petreschi. 2013. Use knowledge to learn faster: Topology recognition with advice. In Proceedings of the 27th International Symposium on Distributed Computing (DISC’13). 31--45.
[25]
Cyril Gavoille, David Peleg, Stéphane Pérennes, and Ran Raz. 2004. Distance labeling in graphs. J. Algorithms 53, 1 (2004), 85--112.
[26]
Med Amine Haddar, Ahmed Hadj Kacem, Yves Métivier, Mohamed Mosbah, and Mohamed Jmaiel. 2008. Electing a leader in the local computation model using mobile agents. In Proceedings of the 6th ACS/IEEE International Conference on Computer Systems and Applications (AICCSA’08). 473--480.
[27]
Daniel S. Hirschberg and J. B. Sinclair. 1980. Decentralized extrema-finding in circular configurations of processors. Commun. ACM 23, 11 (1980), 627--628.
[28]
David Ilcinkas, Dariusz R. Kowalski, and Andrzej Pelc. 2010. Fast radio broadcasting with advice. Theor. Comput. Sci. 411, 14--15 (2010), 1544--1557.
[29]
Tomasz Jurdzinski, Miroslaw Kutylowski, and Jan Zatopianski. 2002. Efficient algorithms for leader election in radio networks. In Proceedings of the 21st Annual ACM Symposium on Principles of Distributed Computing (PODC’02). 51--57.
[30]
Michal Katz, Nir A. Katz, Amos Korman, and David Peleg. 2004. Labeling schemes for flow and connectivity. SIAM J. Comput. 34, 1 (2004), 23--40.
[31]
Amos Korman, Shay Kutten, and David Peleg. 2010. Proof labeling schemes. Distributed Computing 22, 4 (2010), 215--233.
[32]
Dariusz R. Kowalski and Andrzej Pelc. 2013. Leader election in ad hoc radio networks: A keen ear helps. J. Comput. Syst. Sci. 79, 7 (2013), 1164--1180.
[33]
Gérard Le Lann. 1977. Distributed systems - Towards a formal approach. In IFIP Congress. 155--160.
[34]
Nancy A. Lynch. 1996. Distributed Algorithms. Morgan Kaufmann.
[35]
Avery Miller and Andrzej Pelc. 2016. Election vs. selection: How much advice is needed to find the largest node in a graph? In Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA’16). 377--386.
[36]
Koji Nakano and Stephan Olariu. 2002. Uniform leader election protocols for radio networks. IEEE Trans. Parallel Distrib. Syst. 13, 5 (2002), 516--526.
[37]
Nicolas Nisse and David Soguet. 2009. Graph searching with advice. Theor. Comput. Sci. 410, 14 (2009), 1307--1318.
[38]
David Peleg. 2000. Distributed Computing: A Locality-Sensitive Approach. SIAM, Philadelphia, PA.
[39]
Gary L. Peterson. 1982. An O(n log n) unidirectional algorithm for the circular extrema problem. ACM Trans. Program. Lang. Syst. 4, 4 (1982), 758--762.
[40]
Mikkel Thorup and Uri Zwick. 2005. Approximate distance oracles. J. ACM 52, 1 (2005), 1--24.
[41]
Dan E. Willard. 1986. Log-logarithmic selection resolution protocols in a multiple access channel. SIAM J. Comput. 15, 2 (1986), 468--477.
[42]
Masafumi Yamashita and Tiko Kameda. 1989. Electing a leader when processor identity numbers are not distinct (extended abstract). In Proceedings of the 3rd International Workshop Distributed Algorithms. 303--314.
[43]
Masafumi Yamashita and Tsunehiko Kameda. 1996. Computing on anonymous networks: Part I-characterizing the solvable cases. IEEE Trans. Parallel Distrib. Syst. 7, 1 (1996), 69--89.

Cited By

View all
  • (2024)Brief Announcement: Local Advice and Local DecompressionProceedings of the 43rd ACM Symposium on Principles of Distributed Computing10.1145/3662158.3662805(117-120)Online publication date: 17-Jun-2024
  • (2023)Lower and upper bounds for deterministic convergecast with labeling schemesTheoretical Computer Science10.1016/j.tcs.2023.113775952(113775)Online publication date: Mar-2023
  • (2023)Deterministic size discovery and topology recognition in radio networks with short labelsInformation and Computation10.1016/j.ic.2023.105010292:COnline publication date: 15-Jun-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Algorithms
ACM Transactions on Algorithms  Volume 13, Issue 3
July 2017
390 pages
ISSN:1549-6325
EISSN:1549-6333
DOI:10.1145/3058789
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 06 March 2017
Accepted: 01 November 2016
Revised: 01 November 2016
Received: 01 January 2016
Published in TALG Volume 13, Issue 3

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Advice
  2. deterministic distributed algorithm
  3. leader election
  4. time
  5. trees

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

  • NSERC Discovery
  • ANR project DISPLEXITY
  • Research Chair in Distributed Computing at the Université du Québec en Outaouais

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)1
Reflects downloads up to 15 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Brief Announcement: Local Advice and Local DecompressionProceedings of the 43rd ACM Symposium on Principles of Distributed Computing10.1145/3662158.3662805(117-120)Online publication date: 17-Jun-2024
  • (2023)Lower and upper bounds for deterministic convergecast with labeling schemesTheoretical Computer Science10.1016/j.tcs.2023.113775952(113775)Online publication date: Mar-2023
  • (2023)Deterministic size discovery and topology recognition in radio networks with short labelsInformation and Computation10.1016/j.ic.2023.105010292:COnline publication date: 15-Jun-2023
  • (2023)Four shades of deterministic leader election in anonymous networksDistributed Computing10.1007/s00446-023-00451-336:4(419-449)Online publication date: 31-May-2023
  • (2022)Deterministic Leader Election in Anonymous Radio NetworksACM Transactions on Algorithms10.1145/352717118:3(1-33)Online publication date: 11-Oct-2022
  • (2022)Self-stabilising Priority-Based Multi-Leader Election and Network Partitioning2022 IEEE International Conference on Autonomic Computing and Self-Organizing Systems (ACSOS)10.1109/ACSOS55765.2022.00026(81-90)Online publication date: Sep-2022
  • (2021)Constant-Length Labeling Schemes for Deterministic Radio BroadcastACM Transactions on Parallel Computing10.1145/34706338:3(1-17)Online publication date: 20-Sep-2021
  • (2021)Deterministic Size Discovery and Topology Recognition in Radio Networks with Short LabelsProceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3409964.3461821(432-434)Online publication date: 6-Jul-2021
  • (2021)Four Shades of Deterministic Leader Election in Anonymous NetworksProceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3409964.3461794(265-274)Online publication date: 6-Jul-2021
  • (2021)Short labeling schemes for topology recognition in wireless tree networksTheoretical Computer Science10.1016/j.tcs.2021.02.008861(23-44)Online publication date: Mar-2021
  • Show More Cited By

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media