Question: A backward - chaining rule - based system works by hypothesizing an answer and checking to see if the hypothesis is correct according to the
A backwardchaining rulebased system works by hypothesizing an answer and checking to see if the hypothesis is correct according to the facts given and the rules. Note that we may exhaust the hypotheses without finding any that are true.
Assume we check the hypotheses in the following order:
x is a cheetah
x is a tiger
x is a giraffe
x is a zebra
x is an ostrich
x is a penguin
x is an albatross
And, assume we answer questions as follows:
x has feathers true
x flies false
x swims false
x has long legs true
x has long neck true
x is black and white true
The answers to all other questions are not known and assumed to be false.
Problem B: Simulate Zookeepers behavior assuming the hypotheses are tried in the order given by
the table given above and the true assertions are as given above. Indicate your answer by writing the
numbers of the rules in Table in the order used, that are used in solving the problem. Also, name the
animal recognized selected.
Follow the bellow example:
Solution:
Hypothesis:
x is a cheetah
Rule Z:
x is a carnivore
Rule Z:
x is a mammal
Rule Z:
x has hair true
therefore
x is a mammal true from rule Z
x eats meat unknown and assumed false
Rule Z fails
Rule Z
x is a mammal true from rule Z
x has pointed teeth true
x has claws true
x has forwardpointing eyes true
therefore
x is a carnivore true from rule Z
x has tawny color true
x has dark spots false
Rule Z fails
Hypothesis:
x is a tiger
Rule Z:
x is a carnivore true from rule Z
x has tawny color true
x has black stripes true
therefore
x is a tiger true from rule Z
Therefore, the animal is a tiger
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
