Skip to content
/ puzzles Public

Rust software for solving combination puzzles.

Notifications You must be signed in to change notification settings

beling/puzzles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust libraries and programs for solving combination puzzles, developed by Piotr Beling.

Included libraries:

Included programs:

  • pdbs_benchmark (crate, doc) - a console program for testing the effectiveness of different pattern database implementations in solving combination puzzles.

Installation

Programs can be compiled and installed from sources. To do this, a Rust compiler is needed. The easiest way to obtain the compiler along with other necessary tools (like cargo) is to use rustup.

Once Rust is installed, to compile and install a program with native optimizations, just execute:

RUSTFLAGS="-C target-cpu=native" cargo install <program_name>

for example

RUSTFLAGS="-C target-cpu=native" cargo install pdbs_benchmark