articlesfind.info articlesfind.info
Search     
Home > Computing > Games > Final article about the SUDOKU solver
  Final article about the SUDOKU solver
 
A B C D E F G H I
1 4 5 9 6 3 8 2 7 1
2 2 6 3 7 4 1 9 5 8
3 8 1 7 5 9 2 4 6 3
4 5 2 6 1 7 9 3 8 4
5 7 8 1 3 5 4 6 9 2
6 9 3 4 2 8 6 7 1 5
7 1 4 5 9 2 7 8 3 6
8 3 7 2 8 6 5 1 4 9
9 6 9 8 4 1 3 5 2 7



As mentioned in my previous articles this solver is based on the artificial intelligence technique
of the company MIBS.
The first version was built in 3 days to show the power of this technique.
The second version was been built in 2 weeks.
Because this software is part of the MIBS project planner promotion campaign to show
the power of this technique and
this campaign is now in the final phase.
Therefore a final article about
the SUDOKU solver is made and it contains a third rule in solving the SUDOKU squares.

SUDOKU game is today a very popular game. The basic rule is that all rows, colons
and the 4 3X3 squares must contain the numbers 1, 2, 3, 4, 5, 6, 7, 8 and 9.

The first 2 rules correspond with many articles describing solving the SUDOKU square techniques.

The other techniques are quite complicated and an iteration solution is used here.

In my previous article I mentioned 2 rules which were implemented.
We also give some results in solving different SUDOKU squares.

In some cases the square are not automatically solved.

In those cases I mentioned that the tool is still a help in solving the squares because
a list of the potential cells can be produced.

This document describes the optimization of this list and also the application of the third rule.
There is only one solution.

The optimized list is an evaluated basic list where a selection is done.
We will first discuss the content and then how you can use it in solving SUDOKU squares.
Layout of the optimized list

psudsql30
HCEL NTP TP GRPNR Expr1
A6 3 V 1 0,5
A6 8 V 1 0,5
A8 3 V 1 1,5
A8 8 V 1 0,5
E8 2 S 6 1
E8 6 S 6 2
F8 2 S 6 1
F8 6 S 6 2


The colon HCEL contains the potential cells.
This they can have only 2 values which is the result of applying the first 2 rules.
The colon NTP shows the possible values.
The colon TP is the type of area (row, colon or square)
The colon GRPNR : sequence number
The colon Expr1 probability estimate for this value.

The way to use this list.
The contains groups of 4 lines which are the remaining cells of that area
We have 2 possible values for the 2 cells so there are 2 solutions where 1 is the correct one.
Let’s take the example; A6, A8 can have the values 3, 8. So 2 possibilities {A6:3; A8:8} and {A6:8; A8:3}
one of them is correct.
The probability field can be used to choice a priority in the 2 possibilities. But there is no guarantee.

The advise is to apply 1 set at the time not all possible sets, because it is a choice.
Limit yourself to a set of two possibilities.
You know that 1 possibility is correct.
In the above example use the set of area V1 or S6 but not both

On expert level it is possible that you have a cascade of rule 3 problems. So can this be a hopeless problem?
The answer is NO because we know there is 1 solution.
We have solved a lot of expert SUDOKU squares with this last version in all cases the results are.

Cascade number Number of runs
1 1-2
2 1-2-3
3 1-2-3-4

So the solution strategy is not hopeless: maximum number of trials is linear with the cascade number.
The reason for this fact is that when we took a wrong choice we ended very fast into a non solved solution.
A disadvantage is that you have to track your trials

Article Source:  http://articlesfind.info/
  Please Rate this Article
  
  What are you looking for?
New Article
Warcraft no CD Crack
The Playstation 3, should you wait?
A Brief Guide of Playing Backgammon Online
Final article about the SUDOKU solver
 
Old Article
Runescape Tip - Set Honest Prices, Help People Out & You'll Win Big-time Rewards In Runescape.
The Benefits of Computer Games for Children
Arthur Is After The Princess

Discount Hotel Reservations
Shareware, Freeware Thiet ke noi that 

Counter:
782583

 Copyright © 2006 http://ArticlesFind.info.

Partner sites: Noi That, Dien thoai di dong, Du lich, Thoi trang, Quản lý cổ đông, Quan Ly Nha Hang, Phan mem, Phan mem, Phan mem viet nam 

Phần mềm nhà hàng, Quản lý nhà hàng, Diễn đàn ngân hàng, Download phần mềm, Free Article, Article Business, Global in arm, Article Nutrition

article Confederation, Article Find, Article News, Articles Find, Article health, Article Marketing
Phần mềm nhân sự Phần mềm bán hàng Phần mềm Khách sạn Quản lý khách sạn
Phần mềm diệt virus Download Firefox |Giấy Dán Tường | Giấy Dán Tường | Nội Thất Xuân Hòa| Nội Thất Hòa Phát| Nội thất 190 | Nội thất văn phòng | Bồn tắm cao cấp | Tủ bếp | Tủ bếp | Ván sàn gỗ tự nhiên | Rèm văn phòng | Giàn phơi thông minh | Thảm sàn | Thảm trải phòng | Thảm trải văn phòng | Trần thạch cao | Nội thất phòng khách | Thiết kế nhà | Giấy dán tường hàn quốc | Tủ bếp | Nội thất hòa phát | Nội thất xuân hòa | Rèm văn phòng | Giấy dán tường | nội thất hòa phát | Gan nhiễm mỡ | Tủ bếp đẹp | Vật liệu xây dựng | Vật liệu xây dựng hà nội | eglo | ván sàn | nội thất fami | Nội thất fami | Xuân hòa | Trần thạch cao | Thiết bị vệ sinh | Nội Thất Văn Phòng | Đèn Trang Trí | Thảm văn phòng | oto tải | Thiết kế xây nhà | Kiến Trúc | Đèn trang tríHoa trang trí | Sofa da | Sofa gỗ |
| Giấy dán tường| Giấy dán tường đẹp | Bàn để laptop | Học lái xe Học lái xe | Oto tai
|Exchange sites: Contact Us (email: redbluevn@yahoo.co.uk)