Question
1. Consider the following set of known facts and rules for a production system. (Check the Forward and Backward Chaining slides in the Rule-Based Systems
1. Consider the following set of known facts and rules for a production system. (Check the Forward and Backward Chaining slides in the Rule-Based Systems file in Module 3 for an example).
Facts (known to be true): L, M, N
Rules: 1. L O (means that if L is true then O is true)
2. M & N Q (means that if M and N are both true then Q is true)
3. N R
4. P & Q S
5. R U
6. P W
7. T & W Z
8. S & U V
9. O T
10. M & O P
11. R & X Y
a. Which rules would fire and in what order if we used forward chaining, assuming the system starts at rule 1 and goes to rule 11 and repeats. What facts do we know after forward chaining has completed?
b. Using backward chaining, prove that Z is true. Which rules and in what order, would fire to accomplish this? What facts do we know after backward chaining has completed?
c. Using this example, what have we learned about the applications for forward and backward chaining? Give an example of a situation where each would be the best choice.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started