Journal Article10.48550/arXiv.2205.15912
Efficient Algorithms for Sorting in Trees
Jishnu Roychoudhury,Jatin Yadav +1 more
2
TL;DR: This work considers the problem of sorting in trees, a particular case of partial orders, and parametrize the complexity with respect to d, the maximum degree of an element in the tree, as d is usually much smaller than w in trees.
read more
Abstract: . Sorting is a foundational problem in computer science that is typically employed on se-quences or total orders. More recently, a more general form of sorting on partially ordered sets (or posets), where some pairs of elements are incomparable, has been studied. General poset sorting algorithms have a lower-bound query complexity of Ω ( wn + n log n ) , where w is the width of the poset. We consider the problem of sorting in trees, a particular case of partial orders, and parametrize the complexity with respect to d , the maximum degree of an element in the tree, as d is usually much smaller than w in trees. For example, in complete binary trees, d = Θ (1) , w = Θ ( n ) . We present a randomized algorithm for sorting a tree poset in worst-case expected O ( dn log n ) query and time complexity. This improves the previous upper bound of O ( dn log 2 n ) . Our algorithm is the first to be optimal for bounded-degree trees. We also provide a new lower bound of Ω ( dn + n log n ) for the worst-case query complexity of sorting a tree poset. Finally, we present the first deterministic algorithm for sorting tree posets that has lower total complexity than existing algorithms for sorting general partial orders.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Optimal distance query reconstruction for graphs without long induced cycles
Paul R. Bastide,Carla Groenland +1 more
TL;DR: In this article , the authors give a deterministic algorithm to reconstruct trees from chordal graphs using δ(n δ n/δ + 2 n) distance queries in expectation.
2
Algorithms for the Generalized Poset Sorting Problem
TL;DR: Huang et al. as mentioned in this paper considered a generalized poset sorting problem (GPS), in which the goal is to make as few queries as possible to edges in a complete bipartite graph to recover the relation between two vertices.
References
Introduction to algorithms: 4. Turtle graphics
TL;DR: In this article, a language similar to logo is used to draw geometric pictures using this language and programs are developed to draw geometrical pictures using it, which is similar to the one we use in this paper.
15.4K
Introduction to Algorithms
Xin-She Yang
- 01 Jan 2014
TL;DR: This chapter provides an overview of the fundamentals of algorithms and their links to self-organization, exploration, and exploitation.
8.3K
A Measure of Asymptotic Efficiency for Tests of a Hypothesis Based on the sum of Observations
TL;DR: In this paper, it was shown that the likelihood ratio test for fixed sample size can be reduced to this form, and that for large samples, a sample of size $n$ with the first test will give about the same probabilities of error as a sample with the second test.
4.1K
Mean, Median and Mode in Binomial Distributions
Rob Kaas,J.M. Buhrman +1 more
TL;DR: In this article, it was shown that the mean median-mode inequality for continuous distributions does not hold for the binomial distribution, and a sufficient condition is given for mode = median = rounded mean.
148
Generalization of Binary Search: Searching in Trees and Forest-Like Partial Orders
Krzysztof Onak,Paweł Parys +1 more
- 21 Oct 2006
TL;DR: The upper bound on computation time, O(n3 ), improves the previous best known O( n4 log3n) and presents an almost optimal approximation algorithm for another class of tree-like (and forest-like) partial orders.