diff options
| author | thecharlesblake | 2017-11-12 22:48:15 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-12 22:48:15 +0000 |
| commit | 16556a7f36da4fc8093285392f81409b1cfa7aa7 (patch) | |
| tree | 5731e7eee2c041166479585daab804bc6d8e445c /src/main/solver/solver.h | |
| parent | Refactor game state (diff) | |
| download | metasol-16556a7f36da4fc8093285392f81409b1cfa7aa7.tar.gz metasol-16556a7f36da4fc8093285392f81409b1cfa7aa7.zip | |
Refactor solver
Diffstat (limited to 'src/main/solver/solver.h')
| -rw-r--r-- | src/main/solver/solver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/solver/solver.h b/src/main/solver/solver.h index 6dfccc2..91c93d6 100644 --- a/src/main/solver/solver.h +++ b/src/main/solver/solver.h @@ -24,18 +24,18 @@ public: }; solver(const game_state, const sol_rules&); - boost::optional<node> run(); + const node get_root() const; int get_states_searched() const; + const boost::optional<node> run(); + friend std::ostream& operator<< (std::ostream&, const solver::node&); private: const node root; const sol_rules rules; - bool been_run; node solution; - bool solution_found; int states_searched; }; |
