Question 21
RULE BASED EXPERT SYSTEMS
A Rete Net for a rule based system to identify engines, turbines and motors is shown in the figure. Here, BoM refers to Bill-of-Materials, which is a list of parts and their quantities needed for assembling a machine.
The nodes in the network are uniquely identified by labels: A1,A2,... for Alpha nodes; B1,B2,... for beta nodes; R1,R2,... for rules.
The Working Memory contains the following WMEs uniquely identified by timestamps (sequence numbers). Assume that WMEs reside in the appropriate Alpha node, and Beta nodes simply point to elements in the ancestor Alpha nodes.
101. (Fuel ^item N59 ^type solid)102. (Fuel ^item N26 ^type liquid)103. (Fuel ^item N37)104. (BoM ^item N48 ^part alternator)105. (Energy ^item N48 ^source wind)106. (BoM ^item N37 ^part alternator)107. (BoM ^item N15 ^part CD-nozzle)The sub-questions are based on the first Match-Resolve-Execute cycle. Determine the locations of the WMEs and compute the conflict set, then answer the given sub-questions.
If the Inference Engine uses Recency for conflict resolution which rule-data tuple will fire in the first round?
(Liquid-Fuel-Rocket, 102, 107)
(Solid-Fuel-Rocket, 107, 101)
(Windmill, 105, 104)
(Generator, 104)
(Generator, 106)
(Rocket, 107)