Simpler Optimal Sorting from a Directed Acyclic Graph
Ivor van der Hoog, Eva Rotenberg, Daniel Rutschmann

TL;DR
This paper presents a simplified and more accessible algorithm for optimal sorting of elements based on a directed acyclic graph, matching the performance of previous complex methods.
Contribution
It introduces a straightforward solution for sorting with DAGs that achieves optimal time and query complexity, avoiding complex analysis and data structures.
Findings
Achieves optimal sorting with DAGs in Θ(m + n + log e(P_G)) time.
Uses only two simple observations for proof, simplifying previous complex analyses.
Matches the performance of the best existing algorithms in both time and query complexity.
Abstract
Fredman proposed in 1976 the following algorithmic problem: Given are a ground set , some partial order over , and some comparison oracle that specifies a linear order over that extends . A query to has as input distinct and outputs whether or vice versa. If we denote by the number of linear extensions of , then is a worst-case lower bound on the number of queries needed to output the sorted order of . Fredman did not specify in what form the partial order is given. Haeupler, Hlad\'ik, Iacono, Rozhon, Tarjan, and T\v{e}tek ('24) propose to assume as input a directed acyclic graph, , with edges and vertices. Denote by the partial order induced by . Algorithmic performance is measured in running time and the number of queries used, where they use time…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDNA and Biological Computing · Algorithms and Data Compression · Genome Rearrangement Algorithms
