首页> 外文会议>ACM SIGPLAN international conference on functional programming >A Simple Implementation Technique for Priority Search Queues
【24h】

A Simple Implementation Technique for Priority Search Queues

机译:优先级搜索队列的简单实现技术

获取原文

摘要

This paper presents a new implementation technique for priority search queues. This abstract data type is an amazing blend of finite maps and priority queues. Our implementation supports logarithmic access to a binding with a given key and constant access to a binding with the minimum value. Priority search queues can be used, for instance, to give a simple, purely functional implementation of Dijkstra's single-source shortest-paths algorithm. A non-technical concern of the paper is to foster abstract data types and views. Priority search queues have been largely ignored by the functional programming community and we believe that they deserve to be known better. Views prove their worth both in defining a convenient interface to the abstract data type and in providing a readable implementation.
机译:本文介绍了优先搜索队列的新实施技术。此抽象数据类型是有限地图和优先级队列的惊人融合。我们的实现支持与给定密钥的绑定的对数访问,并持续访问与最小值的绑定。例如,可以使用优先级搜索队列,以便为Dijkstra的单源最短路径算法提供简单,纯粹的功能实现。本文的非技术关注是促进抽象数据类型和视图。优先搜索队列在很大程度上被职能编程社区忽略了,我们认为他们应该更好地了解。视图证明了他们的价值在定义方便的界面到抽象数据类型以及提供可读的实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号