首页 | 官方网站   微博 | 高级检索  
     


Backtracking in recursive computations
Authors:Nissim Francez  Boris Klebansky  Amir Pnueli
Affiliation:(1) Department of Applied Mathematics, The Weizmann Institute of Science, Rehovot, Israel;(2) Department of Mathematics (Division of Computer Science), Tel Aviv University, Tel Aviv, Israel
Abstract:Summary A mathematical (denotational) semantics is constructed for a formalism of recursive equations with the Alternative operator. This formalism enables the combination of recursion and backtracking. The semantics is defined by applying fixpoint theory to set valued functions. We introduce the notion of strategy to produce subsets of the result. Two implementations are suggested using an auxiliary stack, that trade off recomputation time with space in the auxiliary stack. The concept of a sub-fixpoint is introduced, and the implementations are shown to be incomplete even w.r.t. sub-fixpoint values. One special strategy, the leftmost strategy, which stems from problems such as pattern matching or parsing, is discussed.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号