开发者

solve the Unification problems in prolog given below

Do these开发者_开发问答 terms unify? Why?

  1. likes(jax, X). and likes(X, jin).

  2. food(X, Y, Z). and food(M, M, M).

  3. food(b, c, d(a)). and food(X, X, X).

In below clause, X will instantiate to what value?

  1. [X|Y]= [likes(jin, black(dog)),likes(kate, dog)].

I need the answer for the above query and justify the answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜