5. Consider the reachable predicate defined in figure 9.3. Suppose the second clause had been this: reachable(S1,[M|L],S3)
Question:
5. Consider the reachable predicate defined in figure 9.3. Suppose the second clause had been this:
reachable(S1,[M|L],S3) :-
reachable(S2,L,S3), legal_move(S1,M,S2).
Are there problems where this might work better than the previous version? Are there problems where it might do worse?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: