递归流程 与 迭代流程

递归流程: 当流程建立一个延迟操作链时,就会发生扩展。收缩发生在实际执行操作时。这种以延迟操作链为特征的流程称为递归流程。 (The expansion occurs as the process builds up a chain of deferred operations . The contraction occurs as the operations are actually performed. This type of process, characterized by a chain of deferred operations, is called a recursive process. )

 

迭代流程:一般来说,迭代过程是一个状态可以由固定数量的状态变量总结的过程,以及一个固定的规则,该规则描述了当过程从一个状态移动到另一个状态时,状态变量应该如何更新,以及一个(可选的)结束测试,该测试指定了过程应该终止的条件。(In general, an iterative process is one whose state can be summarized by a fixed number of state variables, together with a fixed rule that describes how the state variables should be updated as the process moves from state to state and an (optional) end test that specifies conditions under which the process should terminate.)     

引用自 SICP

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值