8000 GitHub - ifross89/gox: Implementation of Knuth's Algorithm X in Go
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ifross89/gox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gox

Package gox provides an implementation of Knuth's Algorithm X (x). X provides a method of determining the solutions to the exact cover problem. The problem is represented by a matrix of boolean values, with the aim to select a subset of rows so that true appears in each column exactly once.

The technique used is known as "dancing links" which involves representing the matrix with doubly linked lists, allowing easy insertion and deletion of nodes, facilitating the backtracking used in the algorithm.

For more information see Knuth's paper, which can be found here.

Installation

go get github.com/ifross89/gox

About

Implementation of Knuth's Algorithm X in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0