AMuHb Lab

Sorry my Russian (или горите в аду).

  • Useless Buttons

  • RSS Mei Mei

    • CCNA
      Getting ready for my CCNA examination. Damn. P.S. I lost all my shitty source codes for c++ which I were working on the previous semester.
      axxxarova
    • A little update
      I haven’t been posting here for some time and it’s not due to the loss of interest in blogging and programming in general. It is just that now I am being bombarded with a number of assignment for the uni. And they need to be finished ASP. As soon as I am done with them [...]
      axxxarova
    • 50 centimeters per second
      “The speed cherry blossom petals fall is five centimeters per second.” 5 cm/sec is a story about two friends, who deeply loved each other since elementary school and who grew apart  due to their parents’ jobs which separated them. Both of them cannot appreciate present life and people around them and they struggle without each other. The [...]
      axxxarova
    • C++ invalid input handling
      In the previous post I arose the issue of invalid input handling and how can one restrict the user from entering wrong inputs. So here are the two methods I stumbled upon: CASE 1: Suppose you have a code that lacks any checking to see if the user entered an invalid input. And when invalid input [...]
      axxxarova
  • RSS jujav4ik

    • An error has occurred; the feed is probably down. Try again later.
  • RSS Heo

Forward chaining

Posted by amuhb on November 18, 2009

Forward chaining is one of the two main methods of reasoning when using inference rules (in artificial intelligence).

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

This rule base would be searched and the first rule would be selected, because its antecedent (If Fritz croaks and eats flies) matches our data. Now the consequents (Then X is a frog) is added to the data. The rule base is again searched and this time the third rule is selected, because its antecedent (If Fritz is a frog) matches our data that was just confirmed. Now the new consequent (Then Fritz is green) is added to our data. Nothing more can be inferred from this information, but we have now accomplished our goal of determining the color of Fritz.

The opposite of forward chaining is backward chaining.

View full Wikipedia article.

Advertisement

One Response to “Forward chaining”

  1. [...] Heo WordPress 2.7 UpgradeI have upgraded to WordPress 2.7 and I must say that I am speechless about the new dashboard. It looks really fancy! Timur AsalievPHP Template CachingThis new year brought some inspiration in respect of coding to me and I have decided to research and possibly implement my own template caching system. I have looked around for some solutions but I wasn’t able to locate a system that could handle partial caching, although this could just be my poor googling skills. [...] Timur Asaliev « Forward chaining [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.