{"modulePath":"github.com/dimchansky/dlx","version":"v1.0.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/dimchansky/dlx","name":"dlx","synopsis":"Package dlx implements Knuth's algorithm DLX (algorithm X implemented in terms of dancing links), which solves exact cover problems.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/bells","name":"main","synopsis":"Command bells searches for extents of change ringing on 3 or 4 bells, and prints them to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/cardtrick","name":"main","synopsis":"Command cardtrick finds a strategy for the five-card trick of Fitch Cheney in its general form, using exact cover.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/coveringsystems","name":"main","synopsis":"Command coveringsystems splits the integers into remainder classes, such as the even numbers, the numbers that leave 1 when divided by 4, and the numbers that leave 3, so that every integer lands in exactly one class.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/crew","name":"main","synopsis":"Command crew reads the flights of a day and a list of candidate crew pairings with their costs from standard input.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/fullerene","name":"main","synopsis":"Command fullerene finds the double bonds of a carbon molecule, by default the football-shaped C60, and prints them to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/hamming","name":"main","synopsis":"Command hamming finds perfect codes and uses one to play the seven prisoners hat game.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/hat","name":"main","synopsis":"Command hat tries to cover a disk with copies of the hat, the aperiodic monotile found in 2023, and prints what it finds to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/instrselect","name":"main","synopsis":"Command instrselect picks machine instructions for an arithmetic expression, the way the instruction selection step of a compiler does.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/kochenspecker","name":"main","synopsis":"Command kochenspecker tries to colour a set of rays green and red under the rules of the Kochen-Specker theorem: exactly one green ray in every group of mutually perpendicular rays that fills all directions, and at most one green ray in every other perpendicular pair.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/langford","name":"main","synopsis":"Command langford arranges two copies of each number from 1 to n in a row, so that the copies of a number k have exactly k numbers between them, and prints the arrangements to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/pentomino","name":"main","synopsis":"Command pentomino tiles a rectangle of 60 cells with the 12 pentominoes, each used exactly once, and prints the tilings to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/perfecthash","name":"main","synopsis":"Command perfecthash builds a minimal perfect hash for a list of lowercase words: a table with exactly one slot per word, and a small sum that sends each word to its own slot.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/queens","name":"main","synopsis":"Command queens places n queens on an n by n chessboard so that no two attack each other, and prints the solutions to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/sudoku","name":"main","synopsis":"Command sudoku solves the Sudoku board read from standard input and prints its solutions to standard output.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/sudoku/parser","name":"parser","synopsis":"Package parser reads Sudoku boards in the text format of the sudoku example.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/sudoku/solver","name":"solver","synopsis":"Package solver solves Sudoku boards by reducing them to exact cover problems for package dlx.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/twelvetone","name":"main","synopsis":"Command twelvetone finds all-interval series: orderings of the n pitches on a circle in which the n-1 steps between neighbours make every interval from 1 to n-1 exactly once.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/vuza","name":"main","synopsis":"Command vuza finds the rhythmic canons of a given rhythm: the beats on which copies of the rhythm must enter so that together they strike every beat of a loop exactly once.","isRedistributable":true},{"path":"github.com/dimchansky/dlx/examples/witt","name":"main","synopsis":"Command witt searches for Steiner systems: groups of k points, chosen from v points, so that every set of t points lies in exactly one group.","isRedistributable":true}],"total":20}}
