An Optimal Algorithm for Broadcasting Multiple Messages in Trees |
| |
Authors: | Krzysztof Diks Andrzej Lingas Andrzej Pelc |
| |
Affiliation: | Instytut Informatyki, Uniwersytet Warszawski, Banacha 2, 02-097, Warsaw, Polandf1;Department of Computer Science, Lund University, Box 118, S-22100, Lund, Sweden, f2;Département d'Informatique, Université du Québec à Hull, Hull, Québec, J8X 3X7, Canada, f3 |
| |
Abstract: | We consider multiple message broadcasting in tree networks. The source (considered as the root of the tree) has k messages which have to be broadcast to all nodes of the tree. In every time unit each node can send one of its already obtained messages to one of its children. A k-message broadcasting scheme prescribes in which time unit a given node should send a message to which child. It is k-optimal if it achieves the smallest possible time for broadcasting k messages from the source to all nodes. We give an algorithm to construct a k-optimal broadcasting scheme for an arbitrary n-node tree. The time complexity of our algorithm is O(nk), i.e., the best possible. |
| |
Keywords: | |
本文献已被 ScienceDirect 等数据库收录! |
|