Selection on X_1 + X_1 + ⋯ X_m via Cartesian product tree

08/16/2020
by   Patrick Kreitzberg, et al.
0

Selection on the Cartesian product is a classic problem in computer science. Recently, an optimal algorithm for selection on X+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+Y selections was proposed to perform k-selection on X_1+X_2+⋯+X_m in o(n· m + k· m), where X_i have length n. Here, that o(n· m + k· m) algorithm is combined with a novel, optimal LOH-based algorithm for selection on X+Y (without a soft heap). Performance of algorithms for selection on X_1+X_2+⋯+X_m are compared empirically, demonstrating the benefit of the algorithm proposed here.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset

Sign in with Google

×

Use your Google Account to sign in to DeepAI

×

Consider DeepAI Pro