Question: (a) Given the following rules: 1. IF (lecturing X ) AND (marking-practicals X ) THEN ADD (overworked X) 2. IF (month february) THEN ADD (lecturing

 (a) Given the following rules: 1. IF (lecturing X ) AND

(a) Given the following rules: 1. IF (lecturing X ) AND (marking-practicals X ) THEN ADD (overworked X) 2. IF (month february) THEN ADD (lecturing ali) 3. IF (month february) THEN ADD (marking-practicals ali) 4. IF (overworked X) OR (slept-badly X ) THEN ADD (bad-mood X) 5. IF (bad-mood X) THEN DELETE (happy X) 6. IF (lecturing X ) THEN DELETE (researching X) Let us assume that initially we have a working memory with the following fact elements: (month february) (happy ali) (researching ali) Sketch the AND-OR graph and apply forward chaining. Use a conflict resolution strategy to decide which rule to fire. Don't fire a rule twice on the same data. Fire rules on more recent working memory elements before older ones. This allows the system to follow through a single chain of reasoning, rather than keeping on drawing new conclusions from old data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!