arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.11496cs.DMmath.CO
收藏

一类具有近最佳平衡的树

A Class of Trees Having Near-Best Balance

Laura Monroe

摘要:

全二叉树自然地表示交换非结合积。这些产品有许多重要的例子:有限精度浮点加法和“与非”门等。为了计算效率,在这样的树中的平衡是高度期望的。最佳的平衡是通过分而治之的方法实现的。然而,这可能不是最佳解决方案,因为许多计算的成功取决于计算的分组和排序,原因包括避免舍入误差,以不同的精度进行计算,以及将计算放置在异构系统中。我们介绍了一类新的计算树,具有接近最佳的平衡,从数学遗传学的Colless指数。这些树很容易从问题中的项数的二进制分解构造。它们也允许比最优平衡的分治树更大的灵活性。这在计算的分组和排序方面提供了所需的自由度,并允许智能效率权衡。

英文摘要:

Full binary trees naturally represent commutative non-associative products. There are many important examples of these products: finite-precision floating-point addition and NAND gates, among others. Balance in such a tree is highly desirable for efficiency in calculation. The best balance is attained with a divide-and-conquer approach. However, this may not be the optimal solution, since the success of many calculations is dependent on the grouping and ordering of the calculation, for reasons ranging from the avoidance of rounding error, to calculating with varying precision, to the placement of calculation within a heterogeneous system. We introduce a new class of computational trees having near-best balance in terms of the Colless index from mathematical phylogenetics. These trees are easily constructed from the binary decomposition of the number of terms in the problem. They also permit much more flexibility than the optimally balanced divide-and-conquer trees. This gives needed freedom in the grouping and ordering of calculation, and allows intelligent efficiency trade-offs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑