diff options
| author | Charlie Blake | 2018-02-02 13:04:33 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-02 13:04:33 +0000 |
| commit | 3eaf893c7edef511d5d6e7f4bbbf82fe5d1f1dce (patch) | |
| tree | 2968ee1dc015a65a95d23e93afef764e88c8f36d /src/main/game/game_state.h | |
| parent | Merge pull request #33 from thecharlesblake/fix-benchmark-bug (diff) | |
| parent | Improve printout of benchmark script (diff) | |
| download | metasol-3eaf893c7edef511d5d6e7f4bbbf82fe5d1f1dce.tar.gz metasol-3eaf893c7edef511d5d6e7f4bbbf82fe5d1f1dce.zip | |
Merge pull request #34 from thecharlesblake/reduced_state
Reduced state
Diffstat (limited to 'src/main/game/game_state.h')
| -rw-r--r-- | src/main/game/game_state.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h index 532eefc..9b0d7b5 100644 --- a/src/main/game/game_state.h +++ b/src/main/game/game_state.h @@ -22,6 +22,7 @@ class game_state { friend class predicate; friend class hasher; friend class global_cache; + friend class cached_game_state; public: // Defines types typedef uint8_t pile_ref; @@ -48,7 +49,6 @@ public: // Inspects state bool is_solved() const; - const std::vector<pile>& get_data() const; friend std::ostream& operator<< (std::ostream&, const game_state&); @@ -58,11 +58,9 @@ private: // Private constructor explicit game_state(const sol_rules&); -#ifndef ORDER_ON_CACHE // Used to maintain pile order invariant void eval_pile_order(pile_ref, bool); void eval_pile_order(std::list<pile_ref>&, pile_ref, bool); -#endif // Used in get_legal_moves() move get_stock_tableau_move() const; |
