about summary refs log tree commit diff stats
path: root/Source/Solver.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Solver.h')
-rw-r--r--Source/Solver.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/Solver.h b/Source/Solver.h new file mode 100644 index 0000000..8a021ac --- /dev/null +++ b/Source/Solver.h
@@ -0,0 +1,16 @@
1#pragma once
2#include <vector>
3
4#ifndef MAX_SOLUTIONS
5#define MAX_SOLUTIONS 10000
6#endif
7
8struct Puzzle;
9class Solver {
10public:
11 static std::vector<Puzzle> Solve(Puzzle& p);
12
13private:
14 static void SolveLoop(Puzzle& p, int x, int y, std::vector<Puzzle>& solutions);
15};
16