Find naked subsets of given length and returns the associated rows and columns.
[nsrows,nscols] = sudoku_locatenakedsubset ( X , C , L , k ) [nsrows,nscols] = sudoku_locatenakedsubset ( X , C , L , k , stopatfirst ) [nsrows,nscols] = sudoku_locatenakedsubset ( X , C , L , k , stopatfirst , verbose )
a 9-by-9 matrix, with 0 for unknown entries
the length of the naked subset
if %t, then stop when one or more candidates have been removed. (default = %t)
a boolean. Set to %t to display the state of the matrix. (default = %f)
a ns x k matrix, where ns is the number of naked subsets. nsrows(i,j) is the row index of the j-th cell of the i-th naked subset
a ns x k matrix, where ns is the number of naked subsets. nscols(i,j) is the column index of the j-th cell of the i-th naked subset
Search for naked subsets of length k and returns the rows and columns indices.