Routing tables in ad hoc and wireless routing protocols can be represented using rooted trees. The constant need for communication and storage of these trees in routing protocols demands an efficient rooted tree coding algorithm. This efficiency is defined in terms of the average code length, and the optimality of the algorithm is measured by comparing the average code length with the entropy of the source. In this work, TreeExplorer is introduced as an easy-to-implement and nearly optimal algorithm for coding rooted tree structures. This method utilizes the number of leaves of the tree as an indicator for choosing the best method of coding. We show how TreeExplorer can improve existing routing protocols for ad hoc and wireless systems, which normally entails a significant communication overhead.
翻译:临时和无线路由协议中的路由表可以用有根树来表示。这些树木在路线协议中不断需要通信和储存,这就需要一个高效的有根树编码算法。这种效率是以平均代码长度来定义的,而算法的最佳性是通过将平均代码长度与源的信箱比较来衡量的。在这项工作中,树专家被引入为一种易于执行的编码树根树结构的近乎最佳的算法。这个方法利用树叶的数量作为选择最佳编码方法的指标。我们展示了树专家如何改进临时系统和无线系统的现有路由协议,通常需要大量的通信间接费用。