Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 to the most recently added data to WM
Cycle No
Applicable rules
Selected rule
UpdatedWM
R
R
R R
R
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