Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Algorithm for Sudoku solver in Labview

Status
Not open for further replies.

sivamit

Full Member level 4
Joined
Dec 1, 2005
Messages
201
Helped
20
Reputation
40
Reaction score
14
Trophy points
1,298
Activity points
2,651
Hi,
Can anyone please give me an algorithm to solve sudoku puzzle...
pls
 

labview sudoku

Here is an C++ application. Just to give some hints about the sudoku algorithm. Make sure you change the file extension to .zip, and extract it. The algorithm is like this:

* Find the possible 9 digit number for each row according to the given values (in each row, some numbers should be given, 2-4 numbers out of 9 maybe. If there is no value given for a row, then we have 9! possibilities. If 3 value given, then we have (9-3)! = 6! possible outcome for that specific row.)
* With 9 "for" loops, check the other 2 sudoku conditions (column condition and 3-3 square condition).

The outcome that fulfills all 3 conditions is the answer.
 

Re: Sudoku in Labview

fiquran said:
Here is an C++ application. Just to give some hints about the sudoku algorithm. Make sure you change the file extension to .zip, and extract it. The algorithm is like this:

* Find the possible 9 digit number for each row according to the given values (in each row, some numbers should be given, 2-4 numbers out of 9 maybe. If there is no value given for a row, then we have 9! possibilities. If 3 value given, then we have (9-3)! = 6! possible outcome for that specific row.)
* With 9 "for" loops, check the other 2 sudoku conditions (column condition and 3-3 square condition).

The outcome that fulfills all 3 conditions is the answer.


Hi,
give more hints on this...please..!!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top