What is forward chaining? Explain with example.

 

Answer: Forword chaining is one of the two main methods of reasoning when an inference engine and can be described logically as repeated application of modus ponens. Forward chaining is a popular implementation strategy for expert systems, business and production rule systems.

For example, suppose that the goal is to conclude the color of a pet named Fritz, given that he croaks and eats flies, and that the rule base contains the following four rules:

1.      If X croaks and eats flies – Then X is a frog

2.      If X chirps and sings – Then X is a canary

3.      If X is a frog – Then X is green

4.      If X is a canary – Then X is yellow 

Post a Comment