// // Created by thecharlesblake on 10/24/17. // #ifndef SOLVITAIRE_SOLVER_H #define SOLVITAIRE_SOLVER_H #include #include #include #include "game_state.h" #include "sol_rules.h" class solver { public: solver(const game_state, const sol_rules&); bool run(); friend std::ostream& operator<< (std::ostream&, const solver&); private: struct node { node(const game_state); std::vector history; game_state state; }; const sol_rules rules; const node root; bool been_run; node solution; bool solution_found; }; #endif //SOLVITAIRE_SOLVER_H