fifth-postulate / packing-puzzle

Create a solver for a packing puzzle
MIT License
3 stars 1 forks source link

Implement dancing links #9

Open dvberkel opened 6 years ago

dvberkel commented 6 years ago

Packing puzzles can be seen as an exact cover problem. Donald Knuth describes the dancing links algorithm to solve the exact cover problem.

Although the algorithm is entirely different and relies on a representation of the problem we haven't used yet, it is worthwhile to take a look into.

dvberkel commented 6 years ago

The dlx crate can be used for this.