New Analytical Methods for Online Binary Search Trees

dc.contributorAalto-yliopistofi
dc.contributorAalto Universityen
dc.contributor.advisorChalermsook, Parinya, Asst. Prof., Aalto University, Department of Computer Science, Finland
dc.contributor.authorJiamjitrak, Wanchote Po
dc.contributor.departmentTietotekniikan laitosfi
dc.contributor.departmentDepartment of Computer Scienceen
dc.contributor.labCombinatorics of Efficient Computationsen
dc.contributor.schoolPerustieteiden korkeakoulufi
dc.contributor.schoolSchool of Scienceen
dc.contributor.supervisorChalermsook, Parinya, Asst. Prof., Aalto University, Department of Computer Science, Finland
dc.date.accessioned2023-05-16T09:00:05Z
dc.date.available2023-05-16T09:00:05Z
dc.date.defence2023-05-29
dc.date.issued2023
dc.description.abstractThis thesis aims to analyze the costs of various binary search tree (BST) algorithms. BST is one of the most fundamental data structures. The long-standing dynamic optimality conjecture states that there exists an online self-adjusting BST algorithm such that, starting with any initial tree, its access cost on any sequence X is O(OPT(X)+n) where OPT(X) is the cost of serving X on an offline optimal algorithm and n is the number of keys. Despite attempts from many groups of researchers, we believe that it is still far from being proven, primarily due to the lack of systematic techniques on the analytical side of algorithms. To address this, we explore the power of two analyzing methods in the context of binary search trees: potential functions and extremal combinatorics. In the first part, we focus on the potential function method, which is widely used but mysterious in how it works. We introduce new charging schemes based on inversion counting, a popular potential function for list updates that has not been used in a BST context. An inversion potential function is arguably the most natural potential function, as it captures the difference between the states of two different algorithms. We illustrate our techniques in the context of both list updates and BSTs: (1) systematically deriving many known list update results and (2) unifying, strengthening, and deriving new bounds for BSTs. In the second part, we explore and extend the use of extremal combinatorics in an amortized analysis of BSTs. The technique exploits the specific structures of the input of BSTs. This method encodes the execution log of BSTs in the form of a matrix and applies powerful theorems from forbidden matrix literature to upper-bound the cost. We propose an extra preprocessing step that decomposes the matrix into several simpler submatrices. We show the applications of the BST Greedy algorithm, one of the most promising candidates for being dynamically optimal, including deriving improved bounds for long-standing conjectures such as preorder traversal, postorder traversal, and path conjectures.en
dc.format.extent112
dc.format.mimetypeapplication/pdfen
dc.identifier.isbn978-952-64-1283-2 (electronic)
dc.identifier.isbn978-952-64-1282-5 (printed)
dc.identifier.issn1799-4942 (electronic)
dc.identifier.issn1799-4934 (printed)
dc.identifier.issn1799-4934 (ISSN-L)
dc.identifier.urihttps://aaltodoc.aalto.fi/handle/123456789/120799
dc.identifier.urnURN:ISBN:978-952-64-1283-2
dc.language.isoenen
dc.opnMunro, James Ian, Prof., University of Waterloo, Canada
dc.opnKozma, László, Asst. Prof., Freie Universität Berlin, Germany
dc.publisherAalto Universityen
dc.publisherAalto-yliopistofi
dc.relation.ispartofseriesAalto University publication series DOCTORAL THESESen
dc.relation.ispartofseries77/2023
dc.revMunro, James Ian, Prof., University of Waterloo, Canada
dc.revKozma, László, Asst. Prof., Freie Universität Berlin, Germany
dc.subject.keywordonline algorithmsen
dc.subject.keyworddata structuresen
dc.subject.keywordbinary search treesen
dc.subject.keywordlist updatesen
dc.subject.keywordextremal combinatoricsen
dc.subject.otherComputer scienceen
dc.titleNew Analytical Methods for Online Binary Search Treesen
dc.typeG5 Artikkeliväitöskirjafi
dc.type.dcmitypetexten
dc.type.ontasotDoctoral dissertation (article-based)en
dc.type.ontasotVäitöskirja (artikkeli)fi
local.aalto.acrisexportstatuschecked 2023-06-02_0922
local.aalto.archiveyes
local.aalto.formfolder2023_05_16_klo_08_39
Files
Original bundle
Now showing 1 - 2 of 2
No Thumbnail Available
Name:
isbn9789526412832.pdf
Size:
1.76 MB
Format:
Adobe Portable Document Format
No Thumbnail Available
Name:
Errata_wanchote.pdf
Size:
66.99 KB
Format:
Adobe Portable Document Format
Description: