David Wang 58a2b0b41f Add convenience functions for equality.
This function takes a LHS and RHS only to give the illusion of an
equality.  It simply subtracts one from the other because our
equations are all in the form: coef_i var_i + constant == 0.
2017-03-01 08:04:27 +11:00
2017-02-25 08:17:07 +11:00
2017-02-18 08:21:54 +11:00
2017-02-18 08:28:20 +11:00
2017-02-26 07:54:03 +11:00
2017-02-18 08:25:56 +11:00
2017-02-26 07:54:02 +11:00

Puzzle Solver Version Status

About

Solve logic puzzles by simply describing the puzzle's rules as constraints. This is suitable for solving puzzles with integer variables such as Sudoku.

Examples

A few example programs are provided in the tests/ directory:

To clone this repository, run:

git clone https://github.com/wangds/puzzle-solver.git

Then build the library and run the test programs using Cargo.

cargo test --test sudoku -- --nocapture

Basic Usage

Add Puzzle Solver as a dependency to your project's Cargo.toml:

[dependencies]
puzzle-solver = "0.1"

Documentation

Author

David Wang

Description
Puzzle solving library, written in Rust.
Readme 155 KiB
Languages
Rust 100%