A Class of Trees Having Near-Best Balance

08/25/2021
by   Laura Monroe, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/11/2019

On the minimum value of the Colless index and the bifurcating trees that achieve it

Measures of tree balance play an important role in the analysis of phylo...
research
05/03/2018

Sound Colless-like balance indices for multifurcating trees

The Colless index is one of the most popular and natural balance indices...
research
03/14/2016

Fast calculation of inverse square root with the use of magic constant - analytical approach

We present a mathematical analysis of transformations used in fast calcu...
research
07/29/2020

Squaring within the Colless index yields a better balance index

The Colless index for bifurcating phylogenetic trees, introduced by Coll...
research
11/02/2020

Learning from Non-Binary Constituency Trees via Tensor Decomposition

Processing sentence constituency trees in binarised form is a common and...
research
05/19/2021

Wilf classes of non-symmetric operads

Two operads are said to belong to the same Wilf class if they have the s...
research
03/18/2023

Smartbanner: Intelligent banner design framework that strikes a balance between creative freedom and design rules

Companies use banners extensively to promote their products, and the int...

Please sign up or login with your details

Forgot password? Click here to reset