rickben / Top-K_FaginAlgorithm

Fagin's algorithm: Fagin's algorithm: 1. Do sorted access on all lists in parallel. 2. For every item - do random access to the other lists to fetch all of its values. 3. Stop when at least K items were seen in the sorted access. 4. Sort the list.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository is not active

About

Fagin's algorithm: Fagin's algorithm: 1. Do sorted access on all lists in parallel. 2. For every item - do random access to the other lists to fetch all of its values. 3. Stop when at least K items were seen in the sorted access. 4. Sort the list.


Languages

Language:Python 97.0%Language:C 2.5%Language:C++ 0.4%Language:Tcl 0.1%Language:Fortran 0.0%Language:Smarty 0.0%Language:PowerShell 0.0%Language:Roff 0.0%Language:Batchfile 0.0%