Recursive Process


RECURSIVE PROCESS

Recursive Process

Recursive Process

Recursive Process

A recursive process is one in which objects are defined in terms of other objects of the same type. Using some sort of recurrence relation, the entire class of objects can then be built up from a few initial values and a small number of rules. The Fibonacci numbers are most commonly defined recursively. Care, however, must be taken to avoid self-recursion, in which an object is defined in terms of itself, leading to an infinite nesting. The necessity of relating process and object applies equally well to problems of writing recursive functions that operate upon data.

Example

The ...
Related Ads