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

    • Desktop wars: Are you serious?
      They still exist! No, really! KDE vs. Gnome vs. XFCE vs. blah-blah-blah Recent experience of switching among desktop environments proved one little thing to me.  Do you all know how easy is to change your desktop background? – Well, switching … Continue reading →
      andreyv
    • KDE 4.7.x: I’m staying
      It’s been more then few weeks of “KDE experiment” I got myself into. The fact that KDE has become my default desktop environment is a bit shocking for me as well, as I’ve been a big fan of Gnome. Recent upgrade … Continue reading →
      andreyv
  • RSS Heo

Backward chaining

Posted by amuhb on November 18, 2009

Backward chaining (or backward reasoning) is an inference method used in automated theorem provers, proof assistants and other artificial intelligence applications.

suppose that the goal is to conclude the color of my pet 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 third and fourth rules would be selected, because their consequents (Then Fritz is green, Then Fritz is yellow) match the goal (to determine Fritz’s color). It is not yet known that Fritz is a frog, so both the antecedents (If Fritz is a frog, If Fritz is a canary) are added to the goal list. The rule base is again searched and this time the first two rules are selected, because their consequents (Then X is a frog, Then X is a canary) match the new goals that were just added to the list. The antecedent (If Fritz croaks and eats flies) is known to be true and therefore it can be concluded that Fritz is a frog, and not a canary. The goal of determining Fritz’s color is now achieved (Fritz is green if he is a frog, and yellow if he is a canary, but he is a frog since he croaks and eats flies; therefore, Fritz is green).

The opposite of forward chaining is forward chaining.

View full Wikipedia article.

Advertisement

One Response to “Backward chaining”

  1. [...] googling skills. [...] Timur Asaliev « EMC Documentum Installation Steps Summary Backward 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.