module type S =functor (
Puzzle
:
PUZZLE
) ->
sig
..end
Solver.Make
and Solver.MakeUnguided
Parameters: |
|
val solve : Puzzle.state -> Puzzle.move list option
s
, output a sequence [m1; m2; ...]
that when
applied to s
in order, produces a goal state.
Returns None
if there is no path to a goal.