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

浅论递归调用执行过程与堆栈内容的同步变化关系
引用本文:马玉英.浅论递归调用执行过程与堆栈内容的同步变化关系[J].青海大学学报,1998(5).
作者姓名:马玉英
作者单位:青海师范大学计算机系 西宁810008
摘    要:递归调用分递推和回溯两个过程,它的实现主要依赖堆栈.递推调用时将参数及断点压入堆栈,直到递推终止条件成立;回溯时首先取出参数运算,再恢复到断点继续,至到堆栈内最后一个断点出栈.

关 键 词:递归调用  堆栈  关系

Some Discussions about Synchronous Changing Relationships between Recursion Invoke Execute Process and the Contentof Stack
Ma Yuying.Some Discussions about Synchronous Changing Relationships between Recursion Invoke Execute Process and the Contentof Stack[J].Journal of Qinghai University(Natural Science),1998(5).
Authors:Ma Yuying
Abstract:Recursion invoke can be divided into recurrence process and backfrack process. Every Procedure of recursion invoke needs the support of stack. When recurrence invoke occurs,parameter and breakpoint will be pushed down into stack till recurrence terminate conditions are tenable, When backfrack occurs, Parameter will be poped out of stact and operation will continue subsequently, Then return to breakpoint and repeat the course till the last breakpoint in stack is poped out.
Keywords:Recursion invoke  Stack  Relationships  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号