【24h】

On Demand String Sorting over Unbounded Alphabets

机译:按需字符串按无界字母排序

获取原文
获取原文并翻译 | 示例

摘要

On-demand string sorting is the problem of preprocessing a set of n strings to allow subsequent queries of finding the κ < n lexicographically smallest strings (and afterwards the next κ etc.) This on-demand variant strongly resembles the search engine queries which give you the best κ-ranked pages recurringly. We present a data structure that supports this in O(n) preprocessing time, and answers queries in O(log n) time. There is also a cost of O(N) time amortized over all operations, where N is the total length of the strings. Our data structure is a heap of strings, which supports heapify and delete-mins. As it turns out, implementing a full heap with all operations is not that simple. For the sake of completeness we propose a heap with full operations based on balanced indexing trees that supports the heap operations in optimal times.
机译:按需字符串排序是预处理一组n个字符串以允许随后查询来查找κ<n词典上最小的字符串(以及随后的下一个κ等)的问题。此按需变量非常类似于搜索引擎查询,该查询提供您经常获得最佳κ排名页面。我们提出了一种在O(n)预处理时间内支持此操作的数据结构,并在O(log n)时间内答复了查询。在所有操作中还需要分摊O(N)时间的成本,其中N是字符串的总长度。我们的数据结构是一堆字符串,它支持heapify和delete-mins。事实证明,用所有操作实现完整堆​​并不是那么简单。为了完整起见,我们建议基于平衡索引树的具有完整操作的堆在最佳时间支持堆操作。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号