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

preprint2020arXivOpen access

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.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.