Program to solve n-queens problem

The program implements short bit of backtracking and finds all solutions possible
1K téléchargements
Mise à jour 9 juil. 2012

Afficher la licence

syntax : [sol nsol]=nqueen(n)
sol ---> solution matrix (nsol x n)
nsol ---> number of solutions found

both outputs are optional

Citation pour cette source

Saket Dandawate (2026). Program to solve n-queens problem (https://fr.mathworks.com/matlabcentral/fileexchange/37420-program-to-solve-n-queens-problem), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.0.0.0