【24h】

Sorting Morphisms

机译:分类形态

获取原文

摘要

Sorting algorithms can be classified in many different ways. The way presented here is by expressing the algorithms as functional programs and to classify them by means of their recursion patterns. These patterns on their turn can be classified as the natural recursion patterns that destruct or construct a given data-type, the so called cata- and anamorphisms respectively. We show that the selection of the recursion pattern can be seen as the major design decision, in most cases leaving no more room for more decisions in the design of the sorting algorithm. It is also shown that the use of alternative data structures may lead to new sorting algorithms. This presentation also serves as a gentle, light-weight, introduction into the various morphisms.
机译:排序算法可以通过许多不同的方式进行分类。此处介绍的方法是将算法表示为功能程序,并通过其递归模式对其进行分类。这些模式又可以归类为破坏或构造给定数据类型(分别称为催化和变形)的自然递归模式。我们表明,递归模式的选择可以看作是主要的设计决策,在大多数情况下,在排序算法的设计中没有更多的空间可以做出更多决策。还显示使用替代数据结构可能会导致新的排序算法。此演示文稿还可以作为轻柔,轻巧的各种射影介绍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号