Topology recognition and leader election in colored networks

被引:2
作者
Dereniowski, Dariusz [1 ]
Pelc, Andrzej [2 ]
机构
[1] Gdansk Univ Technol, Fac Elect Telecommun & Informat, Narutowicza 11-12, PL-80233 Gdansk, Poland
[2] Univ Quebec Outaouais, Dept Informat, Gatineau, PQ J8X 3X7, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Topology recognition; Leader election; Colored network; Local model; PROTOCOLS; VIEWS; DEPTH;
D O I
10.1016/j.tcs.2016.01.037
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Topology recognition and leader election are fundamental tasks in distributed computing in networks. The first of them requires each node to find a labeled isomorphic copy of the network, while the result of the second one consists in a single node adopting the label 1 (leader), with all other nodes adopting the label 0 and learning a path to the leader. We consider both these problems in networks whose nodes are equipped with not necessarily distinct labels called colors, and ports at each node of degree d are arbitrarily numbered 0,1,..., d - 1. Colored networks are generalizations both of labeled networks, in which nodes have distinct labels, and of anonymous networks, in which nodes do not have labels (all nodes have the same color). In colored networks, topology recognition and leader election are not always feasible. Hence we study two more general problems. Consider a colored network and an input I given to its nodes. The aim of the problem TOP, for this colored network and for I, is to solve topology recognition in this network, if this is possible under input I, and to have all nodes answer "unsolvable" otherwise. Likewise, the aim of the problem LE is to solve leader election in this network, if this is possible under input I, and to have all nodes answer "unsolvable" otherwise. We show that nodes of a network can solve problems TOP and LE, if they are given, as input I, an upper bound k on the number of nodes of a given color, called the size of this color. On the other hand we show that, if the nodes are given an input that does not bound the size of any color, then the answer to TOP and LE must be "unsolvable", even for the class of rings. Under the assumption that nodes are given an upper bound k on the size of a given color, we study the time of solving problems TOP and LE in the LOCAL model in which, during each round, each node can exchange arbitrary messages with all its neighbors and perform arbitrary local computations. We give an algorithm to solve each of these problems in arbitrary networks in time O(kD + D log(n/D)), where D is the diameter of the network and n is its size. We also show that this time is optimal, by exhibiting classes of networks in which every algorithm solving problems TOP or LE must use time Omega(kD + D log(n/D)). (C) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:92 / 102
页数:11
相关论文
共 43 条
[1]  
Angluin Dana, 1980, P 12 ANN ACM S THEOR, P82, DOI DOI 10.1145/800141.804655
[2]  
[Anonymous], 2002, P 21 ANN ACM S PRINC
[3]  
[Anonymous], 1996, Distributed algorithms
[4]  
[Anonymous], 1980, TR91 IND U COMP SCI
[5]   RENAMING IN AN ASYNCHRONOUS ENVIRONMENT [J].
ATTIYA, H ;
BARNOY, A ;
DOLEV, D ;
PELEG, D ;
REISCHUK, R .
JOURNAL OF THE ACM, 1990, 37 (03) :524-548
[6]   BETTER COMPUTING ON THE ANONYMOUS RING [J].
ATTIYA, H ;
SNIR, M .
JOURNAL OF ALGORITHMS, 1991, 12 (02) :204-238
[7]   COMPUTING ON AN ANONYMOUS RING [J].
ATTIYA, H ;
SNIR, M ;
WARMUTH, MK .
JOURNAL OF THE ACM, 1988, 35 (04) :845-875
[8]   A TRADE-OFF BETWEEN INFORMATION AND COMMUNICATION IN BROADCAST PROTOCOLS [J].
AWERBUCH, B ;
GOLDREICH, O ;
PELEG, D ;
VAINISH, R .
JOURNAL OF THE ACM, 1990, 37 (02) :238-256
[9]  
Awerbuch Baruch, 1987, STOC '87, P230
[10]  
Boldi P., 1999, Proceedings of the Eighteenth Annual ACM Symposium on Principles of Distributed Computing, P181, DOI 10.1145/301308.301355