首页> 外文期刊>Science of Computer Programming >Bridging the algorithm gap: A linear-time functional program for paragraph formatting
【24h】

Bridging the algorithm gap: A linear-time functional program for paragraph formatting

机译:缩小算法鸿沟:用于段落格式化的线性时间功能程序

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

摘要

In the constructive programming community it is commonplace to see formal developments of textbook algorithms. In the algorithm design community, on the other hand, it may be well known that the textbook solution to a problem is not the most efficient possible. However, in presenting the more efficient solution, the algorithm designer will usually omit some of the implementation details, thus creating an algorithm gap between the abstract algorithm and its concrete implementation. This is in contrast to the formal development, which usually proceeds all the way to the complete concrete implementation of the less efficient solution. We claim that the algorithm designer is forced to omit some of the details by the relative expressive poverty of the Pascal-like languages typically used to present the solution. The greater expressiveness provided by a functiona1 language would allow the whole story to be told in a reasonable amount of space. In this paper we use a functional 1angUage to present the development of a sophisticated algorithm a1l the way to the final code. We hope to bridge the algorithm gap between abstract and concrete implementations, and thereby facilitate communication between the constructive programming and algorithm design communities.
机译:在建设性编程社区中,经常看到教科书算法的正式发展。另一方面,在算法设计社区中,众所周知的是,针对问题的教科书解决方案并不是最有效的方法。但是,在提出更有效的解决方案时,算法设计人员通常会省略一些实现细节,从而在抽象算法及其具体实现之间造成算法差距。这与正式开发相反,正式开发通常一直进行到效率较低的解决方案的完整具体实施。我们声称,由于通常用于呈现解决方案的类似Pascal的语言的相对表达能力较差,算法设计者被迫省略了一些细节。一种功能语言提供的更高的表达能力将使整个故事能够在合理的空间内被讲述。在本文中,我们使用功能性1angUage来介绍复杂算法的开发以及最终代码的开发方式。我们希望弥合抽象和具体实现之间的算法鸿沟,从而促进建设性编程与算法设计社区之间的交流。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号