## Abstract

Starting with Michail, Chatzigiannakis, and Spirakis work [20], the problem of Counting the number of nodes in Anonymous Dynamic Networks has attracted a lot of attention. The problem is challenging because nodes are indistinguishable (they lack identifiers and execute the same program) and the topology may change arbitrarily from round to round of communication, as long as the network is connected in each round. The problem is central in distributed computing as the number of participants is frequently needed to make important decisions, such as termination, agreement, synchronization, and many others. A variety of algorithms built on top of mass-distribution techniques have been presented, analyzed, and also experimentally evaluated; some of them assumed additional knowledge of network characteristics, such as bounded degree or given upper bound on the network size. However, the question of whether Counting can be solved deterministically in sub-exponential time remained open. In this work, we answer this question positively by presenting Methodical Counting, which runs in polynomial time and requires no knowledge of network characteristics. Moreover, we also show how to extend Methodical Counting to compute the sum of input values and more complex functions without extra cost. Our analysis leverages previous work on random walks in evolving graphs, combined with carefully chosen alarms in the algorithm that control the process and its parameters. To the best of our knowledge, our Counting algorithm and its extensions to other algebraic and Boolean functions are the first that can be implemented in practice with worst-case guarantees.

Original language | English (US) |
---|---|

Title of host publication | 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018 |

Editors | Christos Kaklamanis, Daniel Marx, Ioannis Chatzigiannakis, Donald Sannella |

Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |

ISBN (Electronic) | 9783959770767 |

DOIs | |

State | Published - Jul 1 2018 |

Externally published | Yes |

Event | 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018 - Prague, Czech Republic Duration: Jul 9 2018 → Jul 13 2018 |

### Publication series

Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|

Volume | 107 |

ISSN (Print) | 1868-8969 |

### Other

Other | 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018 |
---|---|

Country/Territory | Czech Republic |

City | Prague |

Period | 7/9/18 → 7/13/18 |

## Keywords

- Anonymous dynamic networks
- Boolean functions
- Counting
- Deterministic algorithms
- Distributed algorithms

## ASJC Scopus subject areas

- Software