Prolog is eminently suitable for solving combinatorial tasks like Sudoku puzzles. We use CLP(FD) constraints to obtain a versatile and efficient Prolog program that can test, complete and generate Sudoku Latin squares. The code is available from: www.metalevel....
Негізгі бет Ғылым және технология Sudoku in Prolog
Пікірлер: 27