Question: Write the python program for the following problems and screenshoot output : ----------------------------------------------------------- Apply the forward chaining technique to solve the given problem Initially working
Write the python program for the following problems and screenshoot output :
-----------------------------------------------------------
Apply the forward chaining technique to solve the given problem
Initially working memory has following assertions.
Orange
Apple
Banana
Kiwi
Clove
Rules in the Rule base are:
R1: if (fruits and vegetables), then conclude (eatables) exit
R2: if (orange) then assert (fruits )
R3:if (clove), then assert (spices)
R4:if (apple), then assert (seasonal_fruits)
R5:if (banana), then assert (semiveg)
R6:if (seasonal_fruits and semiveg and spices), then assert (vegetables)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
