【24h】

Checking and Spot-Checking the Correctness of Priority Queues

机译:检查和抽查优先级队列的正确性

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

摘要

We revisit the problem of memory checking considered by Blum et al. [3]. In this model, a checker monitors the behavior of a data structure residing in unreliable memory given an arbitrary sequence of user defined operations. The checker is permitted a small amount of separate reliable memory and must fail a data structure if it is not behaving as specified and pass it otherwise. How much additional reliable memory is required by the checker? First, we present a checker for an implementation of a priority queue. The checker uses O(n~(1/2) log n) space where n is the number of operations performed. We then present a spot-checker using only O(∈~(-1) log δ~(-1) log n) space, that, with probability at least 1-δ, will fail the priority queue if it is ∈-far (defined appropriately) from operating like a priority queue and pass the priority queue if it operates correctly. Finally, we then prove a range of lower bounds that complement our checkers.
机译:我们将重新讨论Blum等人考虑的内存检查问题。 [3]。在此模型中,检查器监视给定用户定义操作的任意序列的情况下,驻留在不可靠存储器中的数据结构的行为。检查程序可以使用少量单独的可靠内存,并且如果数据结构不符合指定的要求,则该数据结构必须失败,否则将其通过。检查程序需要多少额外的可靠内存?首先,我们为优先级队列的实现提供检查器。检查器使用O(n〜(1/2)log n)空间,其中n是执行的操作数。然后我们提出一个仅使用O(∈〜(-1)logδ〜(-1)log n)空间的点检器,如果概率为1-far,则概率至少为1-δ将使优先级队列失败(适当定义),使其像优先队列一样工作,并在优先队列正确运行时通过优先队列。最后,我们然后证明了一些补充我们的检查器的下界。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号