基于间隙的优先级队列/排序?
我正在寻找一个基于带有间隙的排序数组的优先级队列。每当需要放置物体的地方时,就可以使用间隙。缺口会定期以摊销时间“分散”。
我曾经看过一篇类似的文章,但我把它弄丢了,再也找不到了。你能帮忙吗?
I'm looking for a priority queue based on a sorted array with gaps. Gaps could be used whenever a place was needed to put in an object. Gaps were be periodically "spread out" in amortized time.
I've seen an article like that but I've lost it and can't find it any more. Can you help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这听起来好像与图书馆员排序有关。
This sounds like it is related to the Librarian Sort.