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 θ(n 2/x).
Distributed tree comparison with nodes of limited memory / Fusco, EMANUELE GUIDO; Andrzej, Pelc. - In: NETWORKS. - ISSN 0028-3045. - STAMPA. - 60:4(2012), pp. 235-244. [10.1002/net.21463]
Distributed tree comparison with nodes of limited memory
FUSCO, EMANUELE GUIDO;
2012
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 θ(n 2/x).I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.