Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Latest commit

 

History

History
36 lines (28 loc) · 527 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 527 Bytes

Dependency

  • ocaml
  • opam
  • dune: opam install dune
pip3 install -r visu/requirements.txt

Build

in solver/

dune build solver.exe

Usage

Solver

  • -dh hamming distance
  • -dm manhattan distance
  • -de euclidean distance
  • -dc chebyshev distance
  • -grd greedy search
  • -w <int> weight

Visu

python3 visu/main.py --help

example:

python Puzzle_generator.py -s 4 | ./solver/_build/default/solver.exe -dc -w 5 | python3 visu/main.py -s 4 -i images/image.jpg