Question: Given a rule - based ES with nine rules whose purpose is to advise you on how your health is influenced by certain foods and
Given a rulebased ES with nine rules whose purpose is to advise you on how your health is influenced by certain foods and other factors. The rules are:
R IF you eat beef OR eggs THEN high cholesterol
R IF you eat fish OR poultry AND no beef THEN low cholesterol
R IF you eat no beef AND no fish AND no poultry THEN low cholesterol
R IF you are a Freak AND today is Monday THEN you eat fish AND no beef AND no poultry
R If you are a vegetarian THEN you eat no beef AND no fish AND no poultry
R IF low cholesterol THEN healthy
IF high cholesterol THEN unhealthy
R IF you eat veal THEN you eat beef
If you work six hours or less todayTHEN it is Monday.
The system is intended to tell you if you are healthy or unhealthy. Run forward chaining.
Review the following scenarios please list all rules analyzed:
a What if you eat veal?
b What if you are a Freak and today is Monday?
c What if you are a Freak, eat poultry, and work four hours today?
d What if you are not a vegetarian and work eight hours today?
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
