Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Ignore the filled in blank spaces (A) You are given the following facts and a set of rules. Facts Representation Patient has flu A Patient
Ignore the filled in blank spaces
(A) You are given the following facts and a set of rules. Facts Representation Patient has flu A Patient is coughing B Patient has fever E Patient can breathe normally Patient has hypertension G Patient has Covid I Patient has sense of smell D Patient doesn't have Covid F Patient should be given vitamins H And that of rule are in bola. And the set of rules are as given below: RI. AABE R2. EAC G R3. EA-C1 R4.DF R5. FH For conflict resolution strategy, rules can only be used once. And you are given 4 facts in the Initial Database. which are; A, B, C and D. The goal is to infer all the possible facts from this Initial Database Answer: Iteration-1 Working Memory: ABCD Conflict Set: 6 Rule Fired: *example, if Rule 1 then write Rl and so on Iteration-2 Working Memory: ABCD Conflict Set: Rule Fired: A example, if Rule 1 then write Rl and so on Iteration-3 Working Memory: ABCD F H *insert the fact in alphabetical order Conflict Set: Rule Fired: HALT * example, if Rule 1 then write Rl and so on (B) Given a production set: RI. FACAA Goal R2. A R3. BLE R4. CABD R5. E ADF R6. Start - AAB You are required to use goal driven approach (begin with Goal) work backward to reach the Start. Begin with iteration-l. Iteration-1 Working Memory: Goal Conflict Set: R6 Rule Fired: R6 Iteration 2 Iteration-2 Working Memory: Goal, A, C, F Conflict Set: R2, R5 Rule Fired: R2 Iteration - 3 Working Memory: Goal, A, B, C, E, F Conflict Set: R5, R6 Rule Fired: R2 Iteration-Final Working Memory: Goal, A, B, C, D, E, F, Start Conflict Set : HALT Rule Fired: How many iterations does it take to reach the Start ? 5
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