// // Created by thecharlesblake on 1/10/18. // #ifndef SOLVITAIRE_GLOBAL_CACHE_H #define SOLVITAIRE_GLOBAL_CACHE_H #include #include #include "../game/game_state.h" #include "../game/sol_rules.h" class global_cache { public: explicit global_cache(const sol_rules&); bool insert(const std::vector&); bool contains(const std::vector&); private: std::unordered_set< std::vector, boost::hash> > u_set; }; #endif //SOLVITAIRE_GLOBAL_CACHE_H