Abstract

AbstractWe 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

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call