Abstract
The maximum depth of recursion refers to the number of levels of activation of a procedure which exist during the deepest call of the procedure. A re-examination of the maximum depth of recursion of the Ackermann function results in a new formula which takes a full account of the dependence of this property on the parameters. It is shown that the recursive use parameter of the Ackermann function contributes to the depth of recursion, and that this contribution may be reduced by rearranging the order of the parameters. The stack required by the Ackermann function was investigated using ALGOL 68-R.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Similar Papers
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.