Use forward-chaining to show the assertion Car-OK from
In forward chaining if the antecedent of the rule is satisfied, based on the rule a conclusion is made.
Here, first four lines are rules like rule1,rule2,rule3 and rule4
Base conditions: ┐Headlights-Work, ┐Empty-Gas-Tank, Radio-Works, Starter-OK, ┐Flat-Tire
Following lines are base conditions. So based on the base conditions and rules, a conclusion is drawn. This is called forward chaining.
----------------------------------------------------------------------------------------------------
Base condition: radio-Works
and using rule4 (Radio-Works → Battery-OK)
conclution: battery-Ok
Base conditions:battery-Ok, starter-Ok and ┐Empty-Gas-Tank
and using rule2(Battery-OK Λ Started-OK Λ ┐Empty-Gas-Tank → Engine-Starts)
conclusion:Engine-Starts
Base conditions:Engine-Starts, ┐Flat-Tire
and using rule3(Engine-Starts Λ ┐Flat-Tire → Car-OK)
conclusion:Car-Ok
Get Answers For Free
Most questions answered within 1 hours.