MCP
arXivarXiv
Preprint
Published: August 16, 2020
cs.DS

Selection on X1+X1+⋯XmX_1 + X_1 + \cdots X_m via Cartesian product tree

Abstract
Selection on the Cartesian product is a classic problem in computer science. Recently, an optimal algorithm for selection on X+YX+Y, based on soft heaps, was introduced. By combining this approach with layer-ordered heaps (LOHs), an algorithm using a balanced binary tree of X+YX+Y selections was proposed to perform kk-selection on X1+X2+⋯+XmX_1+X_2+\cdots+X_m in o(n⋅m+k⋅m)o(n\cdot m + k\cdot m), where XiX_i have length nn. Here, that o(n⋅m+k⋅m)o(n\cdot m + k\cdot m) algorithm is combined with a novel, optimal LOH-based algorithm for selection on X+YX+Y (without a soft heap). Performance of algorithms for selection on X1+X2+⋯+XmX_1+X_2+\cdots+X_m are compared empirically, demonstrating the benefit of the algorithm proposed here.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first