We give the first linear-time terminating counting algorithm for processes in anonymous 1-interval-connected dynamic networks with a leader. As a byproduct, we are able to compute in $3n$ rounds \emph{every} function that is computable deterministically in such networks. If explicit termination is not required, the running time improves to $2n$ rounds, which we show to be optimal up to a small additive constant (this is also the first non-trivial lower bound for counting). As our main tool of investigation, we introduce a combinatorial structure called \emph{history tree}, which is of independent interest. This makes our paper completely self-contained, our proofs elegant and transparent, and our algorithms straightforward to implement. In recent years, considerable effort has been devoted to the design and analysis of counting algorithms for anonymous 1-interval-connected networks with a leader. A series of increasingly sophisticated works, mostly based on classical mass-distribution techniques, have recently led to a celebrated counting algorithm in $O({n^{4+ \epsilon}} \log^{3} (n))$ rounds (for $\epsilon>0$), which was the state of the art prior to this paper. Our contribution not only opens a promising line of research on applications of history trees, but also demonstrates that computation in anonymous dynamic networks is practically feasible, and far less demanding than previously conjectured.
翻译:我们第一次给出匿名的1个间连接的动态网络中进程的线性终止计数算法。 作为副产品, 我们能够用3n美元回合计算出在这种网络中可以计算确定性的功能。 如果不需要明确终止, 运行时间将改进为$2n回合, 我们显示这比一个小添加常数最理想( 这也是第一个非三进制较低的点数工具 ) 。 作为我们的主要调查工具, 我们引入了一个名为 emph{ 历史树} 的组合式结构, 这是一种独立的兴趣。 这使我们的纸张完全自足, 我们的证据优雅透明, 我们的算法直截了。 近年来, 我们花了很多精力设计和分析匿名的1个间连接网络的算法, 与一个领导者连接的网络。 一系列日益复杂的工程, 大多基于传统的批量分配技术, 最近导致一个名为 $( n ⁇ 4+\ epsilon) 的计数算算算算算法, 但它是一个独立的兴趣。 这使我们的纸质计算法完全自足, 我们的计算系统在前几轮上展示了历史。