diff options
| author | thecharlesblake | 2017-10-28 16:07:13 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-28 16:07:13 +0100 |
| commit | 215496d51c6663dd12c4ffb51521f00a8bf9fcbe (patch) | |
| tree | 94f93b9258b31a7e1e6b61ed9370dc6bbcd482ea /src/main/solver.h | |
| parent | Add generic state printing (diff) | |
| download | metasol-215496d51c6663dd12c4ffb51521f00a8bf9fcbe.tar.gz metasol-215496d51c6663dd12c4ffb51521f00a8bf9fcbe.zip | |
Add build order to game rules class
Diffstat (limited to 'src/main/solver.h')
| -rw-r--r-- | src/main/solver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/solver.h b/src/main/solver.h index 0520cc7..cff1e47 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&); @@ -26,6 +27,7 @@ private: game_state state; }; + const sol_rules rules; const node root; bool been_run; node solution; |
