【24h】

A Generic Functional Graph Search Algorithm

机译:泛型功能图搜索算法

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

摘要

We present high-level, generic, functional versions of three well known graph search algorithms; namely depth first, breadth first and best first search. We show how functional programming techniques can be employed to maximise reusability without compromising the conciseness, elegance or readability of their implementation. We demonstrate how all three search algorithms can be defined as instances of a more general scheme, and how this generalisation provides insights into new possibilities for search algorithms.
机译:我们介绍了三种众所周知的图搜索算法的高级通用功能版本;即深度优先,广度优先和最佳优先搜索。我们展示了如何使用函数式编程技术来最大化可重用性,而又不影响其实现的简洁性,优雅性或可读性。我们演示了如何将所有三种搜索算法定义为更通用方案的实例,以及这种概括如何为搜索算法的新可能性提供见识。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号