Question: Recursion is a technique in which one predicate uses itself ( maybe with some other predicates ) to find the truth value. We create a
Recursion is a technique in which one predicate uses itself maybe with some other predicates to find the truth value. We create a knowledge base in the file: recursion.pl inside this file we have two facts:
justatedeergrass justatetiger deer
According to these facts we can get the conclusion that: isdigestingdeer grass is true and is digestingtiger deer is also true.
TODO: define the digesting relationship using recursive structures make the following
predicate to be true: is digestingtigergrass
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
