University of Montana
OPTIMAL CONSTRUCTION OF A LAYER-ORDERED HEAP AND ITS APPLICATIONS
Abstract
dc:description.abstractThe layer-ordered heap (LOH) is a simple data structure used in algorithms that perform optimal top-$k$ on $X+Y$, algorithms with the best known runtime for top-$k$ on X1+X2+\cdots+Xm, and the fastest method in practice for computing the most abundant isotopologue peaks in a chemical compound. In the analysis of these algorithms, the rank, α, has been treated as a constant and $n$, the size of the array, has been treated as the sole parameter. Here, we explore the algorithmic complexity of LOH construction with α as a parameter, introduce a few algorithms for constructing LOHs, analyze their complexity in both $n$ and α, and demonstrate that one algorithm is optimal in both $n$ and α for building a LOH of any rank. We then apply this to improve performance in applications where they are employed, find an estimate for the optimal α given an $n$ and $k$ for top-$k$ on $X+Y$, and derive a novel algorithm for top-$k$ on a multinomial distribution. Finally, we show that the results of our LOH analysis correspond with empirical experiments of runtimes when applying the LOH construction algorithms to both a common task in machine learning and top-$k$ on X1+X2+\cdots+Xm and that our estimate of the optimal α for top-$k$ on $X+Y$ corresponds well with empirical data.
Degree
thesis:*- Name thesis:degree_name
- Master of Arts (MA)
- Department thesis:degree_department
- Department of Mathematical Sciences
- Grantor dc:publisher
- University of Montana
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Pennington, Jake
Subjects
dc:subject × 6Identifiers
dc:identifier.*- Repository record dc:identifier
- https://scholarworks.umt.edu/etd/11811