发明授权
- 专利标题: Linear-time top-k sort method
- 专利标题(中): 线性时间top-k排序方法
-
申请号: US13304800申请日: 2011-11-28
-
公开(公告)号: US08296306B1公开(公告)日: 2012-10-23
- 发明人: Kyu-Young Whang , Min Soo Kim , Jeong-Hoon Lee
- 申请人: Kyu-Young Whang , Min Soo Kim , Jeong-Hoon Lee
- 申请人地址: KR Daejeon
- 专利权人: Korea Advanced Institute of Science and Technology
- 当前专利权人: Korea Advanced Institute of Science and Technology
- 当前专利权人地址: KR Daejeon
- 代理机构: H.C. Park & Associates, PLC
- 主分类号: G06F7/00
- IPC分类号: G06F7/00
摘要:
The present invention relates to an algorithm that retrieves only k data elements having the largest (or smallest) key values from a dataset (i.e., top-k results) in a time linearly proportional to the size of the dataset. The proposed method using the algorithm finds the top-k results using a k-sized min (or max) heap structure that maintains candidate elements of the top-k results by scanning all data elements in the dataset only once. In other words, the present invention provides a linear-time top-k sort method that finds top-k results in a time linearly proportional to the size of the dataset (i.e., O(n) time complexity), while conventional sort algorithms for finding top-k results cannot find the top-k results in a time linearly proportional to the size of the dataset (i.e., at least O(n log n) time complexity).
公开/授权文献
- US20120271838A1 LINEAR-TIME TOP-K SORT METHOD 公开/授权日:2012-10-25
信息查询