Algorithm-X-DLX
view release on metacpan or search on metacpan
lib/Algorithm/X/DLX.pm view on Meta::CPAN
this distribution, unless explicitly noted otherwise.
This software is copyright (c) 2025 by Steffen Heinrich
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
=head1 SEE ALSO
Donald E. Knuth, Stanford University 2000 L<Dancing Links|http://arxiv.org/pdf/cs/0011047v1>
L<Introduction to Exact Cover Problem and Algorithm X|https://www.geeksforgeeks.org/introduction-to-exact-cover-problem-and-algorithm-x/>
Peter Pfeiffer BSc, Linz 2023 L<Uncovering Exact Cover Encodings|https://epub.jku.at/obvulihs/download/pdf/9260418>
=cut
lib/Algorithm/X/Examples.pod view on Meta::CPAN
=encoding UTF-8
=head1 NAME
Algorithm::X::Examples - Application of Algorithm-X to various exact cover problems
=head1 DESCRIPTION
The modules under Algorithm::X come without a detailed documentation towards their usage,
specifically on how to turn a problem into a matrix.
Pls. refer to the sources under the distro's L<examples/|https://metacpan.org/dist/Algorithm-X-DLX/source/examples/> directory and their usages given below.
The modules can also solve generalized exact cover problems (see Knuth's paper).
The columns of the matrix should be sorted so that all secondary columns are on the left, before primary columns. Beside dlx, N-queens is a good example of this.
=head1 Running examples/...
These modules are not installed.
Extract the C<examples> directory from the distribution and put the resp. script's directory into C<@INC> where necessary.
=head2 Testing examples
lib/Algorithm/X/Examples.pod view on Meta::CPAN
this distribution, unless explicitly noted otherwise.
This software is copyright (c) 2025 by Steffen Heinrich
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
=head1 SEE ALSO
Donald E. Knuth, Stanford University 2000 L<Dancing Links|http://arxiv.org/pdf/cs/0011047v1>
L<Introduction to Exact Cover Problem and Algorithm X|https://www.geeksforgeeks.org/introduction-to-exact-cover-problem-and-algorithm-x/>
Peter Pfeiffer BSc, Linz 2023 L<Uncovering Exact Cover Encodings|https://epub.jku.at/obvulihs/download/pdf/9260418>
=cut
( run in 0.554 second using v1.01-cache-2.11-cpan-df04353d9ac )