Kombinator-Y untuk Melakukan Memoizing Fungsi Rekursif

Authors

  • Subandijo Subandijo Bina Nusantara University

DOI:

https://doi.org/10.21512/comtech.v3i1.2468

Keywords:

memorizing, recursive function, fixed-point, Y combinator, javascript

Abstract

This article discusses how to find a solution of a recursive function such as Fibonacci or factorial numbers without repetition. Therefore, a recursive function is considered a fixed-point of non-recursive function. To calculate the fixed-point, we can use Y Combinator, a non-recursive functions to perform memoizing recursive function. This method can significantly reduce the execution time of recursive functions.

Dimensions

Plum Analytics

References

Hoffman, B. (1992). "Term Rewriting with Sharing and Memoïzation," Algebraic and Logic Programming: Third International Conference, Proceedings, H. Kirchner and G. Levi (eds.), 128–142, Italy.

Michie, D. (1968). Memo Functions and Machine Learning. Nature, 218, 19–22.

Nash, Trey. (2007) Accelerated C# 2008. Berkeley: Apress.

Shoenfield, J. R. (2004). Recursion Theory (2nd edition). Massachussets: A K Peters.

Stefanov, S. (2010). JavaScript Patterns. Stamford: O’Reilly.

Downloads

Published

2012-06-01

Issue

Section

Articles
Abstract 678  .
PDF downloaded 853  .