next up previous
Next: About this document Up: No Title Previous: Examples

Tracing a Prolog program

The execution of a Prolog program is therefore non-deterministic because of multiple execution paths. Of course, if all procedures in a program consisted of only one clause, then only one execution path would exist

Useful to draw search trees to understand the operation of Prolog in backtracking - Graphical representations always prefered.


next up previous
Next: About this document Up: No Title Previous: Examples

Omer F Rana
Fri Feb 7 11:39:23 GMT 1997