arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.12795cs.DScs.PL
收藏

递归定义数据结构的应用

Applications of Recursively Defined Data Structures

Lloyd Allison

摘要:

循环程序包含一个数据结构,其定义是自引用或递归的。使用这样的定义允许编写高效的函数程序,并且可以避免重复的求值和必须被垃圾收集的中间数据结构的创建。本文以各种方式使用循环程序,实现备忘录结构和显式搜索树来保存约束满足问题的解决方案。

英文摘要:

A circular program contains a data structure whose definition is self-referential or recursive. The use of such a definition allows efficient functional programs to be written and can avoid repeated evaluations and the creation of intermediate data structures that would have to be garbage collected. This paper uses circular programs in various ways, to implement memo-structures and explicit search-trees to hold solutions to constraint-satisfaction problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑