Question: Consider the following productions system where Working Memory ( W M ) = { - 2 } Time left 0 . 3 List of Rules:
Consider the following productions system where Working Memory
Time left
List of Rules:
R if in WM then add to WM
R if in WM and is odd then add to WM
R if in WM and is odd and then add to WM
R if in WM then print
R if in WM then print OK
Conflict Resolution:
a Ordering
O
O
b Recency: rules more recently added take priority during conflict
c Refractoriness once: A rule that was selected in the previous cycle is excluded
d Specificity: rules with more specific antecedentsconditions are favored
We employ RoD in case we have one rule applicable to different data
ie if there is one rule that is applicable to more than one data in WM then add R to the most recently added data to WM
Cycle No
Applicable rules
Selected rule
UpdatedWM
R
RR
R
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
