diff options
| author | Charlie Blake | 2017-11-06 14:31:04 +0000 |
|---|---|---|
| committer | GitHub | 2017-11-06 14:31:04 +0000 |
| commit | d67ed718a0955c577cafc5716dc5ec5dc0129e9d (patch) | |
| tree | f9c8a6578fcd73548a88ea8f06c2f22c8310cce8 /src/main/solver.h | |
| parent | Merge pull request #14 from thecharlesblake/simple-black-hole (diff) | |
| parent | Add counting of states searched (diff) | |
| download | metasol-d67ed718a0955c577cafc5716dc5ec5dc0129e9d.tar.gz metasol-d67ed718a0955c577cafc5716dc5ec5dc0129e9d.zip | |
Merge pull request #15 from thecharlesblake/spanish-patience
Spanish patience
Diffstat (limited to 'src/main/solver.h')
| -rw-r--r-- | src/main/solver.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/solver.h b/src/main/solver.h index 0520cc7..4215989 100644 --- a/src/main/solver.h +++ b/src/main/solver.h @@ -11,10 +11,11 @@ #include <boost/optional.hpp> #include "game_state.h" +#include "sol_rules.h" class solver { public: - solver(const game_state); + solver(const game_state, const sol_rules&); bool run(); friend std::ostream& operator<< (std::ostream&, const solver&); @@ -27,9 +28,11 @@ private: }; const node root; + const sol_rules rules; bool been_run; node solution; bool solution_found; + int states_searched; }; |
