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 (WM)={-2}
Time left 0.3
List of Rules:
(R1) if x in WM then add x+1 to WM.
(R2) if x in WM and x is odd then add x+4 to WM .
(R3) if x in WM and x is odd and x>0 then add x-3 to WM.
(R4) if 5 in WM then print "Hr".
(R5) if 7 in WM then print "OK'
Conflict Resolution:
(a) Ordering
(O1)R13R23R33R43R5
(O2)R53R43R3=R2=R1
(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 antecedents/conditions are favored
We employ RoD in case we have one rule applicable to different data
i.e. if there is one rule R 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
Updated-WM
1.
R1-2
R1
{-2,-1}
2.
R1,R2
R2
{-2,-1,3}
 Consider the following productions system where Working Memory (WM)={-2} Time left

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!