From bba8775ce7c63783303240470d4a4b8404c9498b Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 11 Nov 2017 11:36:27 +0000 Subject: Add src file directory structure --- src/main/solver.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/main/solver.h (limited to 'src/main/solver.h') diff --git a/src/main/solver.h b/src/main/solver.h deleted file mode 100644 index 4215989..0000000 --- a/src/main/solver.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// 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 node root; - const sol_rules rules; - bool been_run; - node solution; - bool solution_found; - int states_searched; -}; - - -#endif //SOLVITAIRE_SOLVER_H -- cgit v1.2.1