Login   Register  
PHP Classes
elePHPant
Icontem

AI

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Sudoku Solver  >  All threads  >  AI  >  (Un) Subscribe thread alerts  
Subject:AI
Summary:How is this artificial intelligence?
Messages:2
Author:rudie dirkx
Date:2007-06-11 08:48:10
Update:2007-06-12 11:53:44
 

  1. AI   Reply  
Picture of rudie dirkx
rudie dirkx
2007-06-11 08:48:10
This is no AI... This is just a computer calculating possibilities. It solves a sudoku in now way a person would! So it's not AI.
Furthermore, I get notices everywhere and I cant upload files and even when both are fixed, the rest doesnt work.
Nice class!

  2. Re: AI   Reply  
Picture of Ghica van Emde Boas
Ghica van Emde Boas
2007-06-12 11:53:44 - In reply to message 1 from rudie dirkx
I t was not me (the author of the class) that categorized this as AI, but the webmaster of PHPClasses. Nevertheless, there are some AI aspects to the class: it only does something if you choose a rule to try solving the puzzle.
I have solved many Sudoku's by hand, and I always use similar strategies to solve the puzzle as the class does. It depends on your definition of AI. How should the class have worked if it would have satisfied your definition?

As an alternative I could have programmed a brute-force tree searching algorithm. That would have been no fun, because then it solves the puzzle mechanically. Now I sometimes use the solver to see where my solution of a difficult Sudoku went wrong, or how I could continue if I am stuck.

I am not really sure why you have problems with up-and downloading. If you send me more details, I will try to help you.