David Wang 651cc9f6c7 Add constraint trait.
Each constraint is a little sub-program that attempts to reduce the
search space.  They should only be run as required, i.e. when the
candidates of the variables they use were updated, though this has not
yet been implemented.

Constraints are traits so that puzzles may implement their own
specialised contraints as required.  We have split the trait into an
"on_assigned" call and an "on_updated" call for clarity.  The provided
methods simply return true, indicating no contradiction.
2017-02-21 08:24:59 +11:00
2017-02-21 08:24:59 +11:00
2017-02-18 08:21:54 +11:00
2017-02-18 08:28:20 +11:00
2017-02-18 16:05:10 +11:00
2017-02-18 08:25:56 +11:00
Description
Puzzle solving library, written in Rust.
155 KiB
Languages
Rust 100%