Program to solve n-queens problem
Versione 1.0.0.0 (2,12 KB) da
Saket Dandawate
The program implements short bit of backtracking and finds all solutions possible
syntax : [sol nsol]=nqueen(n)
sol ---> solution matrix (nsol x n)
nsol ---> number of solutions found
both outputs are optional
Cita come
Saket Dandawate (2024). Program to solve n-queens problem (https://www.mathworks.com/matlabcentral/fileexchange/37420-program-to-solve-n-queens-problem), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su General PDEs in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |