Sunday, 29 March 2015
Review an Old SLOG (Week 11 SLOG)
Ah recursion, we meet again. I seem to enjoy writing about this topic, so I shall do so again for this week's entry. Looking back at what seems like an eternity (but truly only 5 weeks!), I can see that I have gained a deeper understanding of recursion. Although the very basic examples of recursive code can be written in a few lines, they do not fully represent the ability of this powerful idea. When I first started tracing recursive code, I never thought that it could be used to represent a type of artificial intelligence. In the assignments, I was surprised that a relatively strong A.I. could be made using recursion. However, the run time proved to be an issue in some code where a large amount of permutations was possible. In our final assignment, we were given an option to explore various ways of improving the efficiency of our recursive minimax code. I agree with myself in the past where I believed that recursion would be a strong tool. Although thinking about it can make my head hurt sometimes, trusting the code seems to help untangle the mess that tracing can sometimes cause. Looking at other classmates' SLOGS, they seem to have issues with tracing as well. The problem with losing track of where you are in your code is a prevalent issue among our class.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment