Distributed tree comparison with nodes of limited memory

  • Authors:
  • Emanuele G. Fusco;Andrzej Pelc

  • Affiliations:
  • Department of Computer Science, Sapienza, University of Rome, via Salaria 113 – 00198 Rome, Italy;Département d'informatique, Université du Québec en Outaouais, Gatineau, Québec J8X 3X7, Canada

  • Venue:
  • Networks
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider the task of comparing two rooted trees with port labels. Roots of the trees are joined by an edge and the comparison has to be performed distributedly, by exchanging messages among nodes. If the two trees are isomorphic, all nodes must finish in a state YES; otherwise they have to finish in a state NO and break symmetry, nodes of one tree getting label 0 and nodes of the other getting label 1. Nodes are modeled as identical automata, and our goal is to establish trade-offs between the memory size of such an automaton and the efficiency of distributed tree comparison, measured either by the time or by the number of messages used for communication between nodes. We consider both the synchronous and the asynchronous communication and establish exact trade-offs in both scenarios. For the synchronous scenario, we are concerned with memory versus time trade-offs. We show that if the automaton has x bits of memory, where x ≥ c log n, for a small constant c, then the optimal time to accomplish the comparison task in the class of trees of size at most n and of height at most h 1 is Θ(h + n/x). For the asynchronous scenario, we study memory versus number of messages trade-offs. We show that if the automaton has x bits of memory, where n ≥ x ≥ c log n, then the optimal number of messages to accomplish the comparison task in the class of trees of size at most n is Θ(n2/x). © 2012 Wiley Periodicals, Inc. NETWORKS, Vol. 2012 (A preliminary version of this article appeared in the Proceedings of the 17th International Colloquium on Structural Information and Communication Complexity (SIROCCO 2010), LNCS 6058. This work was done during the visit of Emanuele G. Fusco at the Research Chair in Distributed Computing of the Université du Québec en Outaouais.)