diff options
| author | Charlie Blake | 2018-08-04 17:36:04 +0100 |
|---|---|---|
| committer | GitHub | 2018-08-04 17:36:04 +0100 |
| commit | 0b8d7ba8384c6bd91162a09e3eee0d5fe97bc2b7 (patch) | |
| tree | 11fd908f6b081e685776281bee48329066cbe565 /src/main/game/search-state/game_state.h | |
| parent | Merge pull request #81 from thecharlesblake/streamliner-fixup (diff) | |
| parent | Add two-deck presets & edit mv order to make work (diff) | |
| download | metasol-0b8d7ba8384c6bd91162a09e3eee0d5fe97bc2b7.tar.gz metasol-0b8d7ba8384c6bd91162a09e3eee0d5fe97bc2b7.zip | |
Merge pull request #82 from thecharlesblake/two-deck-testing
Add two-deck presets & edit mv order to make work
Diffstat (limited to 'src/main/game/search-state/game_state.h')
| -rw-r--r-- | src/main/game/search-state/game_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/game/search-state/game_state.h b/src/main/game/search-state/game_state.h index d8d9f12..3df67ec 100644 --- a/src/main/game/search-state/game_state.h +++ b/src/main/game/search-state/game_state.h @@ -9,6 +9,7 @@ #include <list> #include <string> #include <random> +#include <functional> #include <boost/functional/hash.hpp> #include <boost/optional/optional.hpp> @@ -95,7 +96,7 @@ private: bool stock_can_deal_all_tableau() const; move get_stock_to_all_tableau_move() const; - std::set<std::pair<int8_t, bool>> generate_k_plus_moves_to_check() const; + std::set<std::pair<int8_t, bool>, std::greater<>> generate_k_plus_moves_to_check() const; void add_stock_to_cell_move(std::vector<move>&, pile::ref) const; void add_stock_to_tableau_moves(std::vector<move>&) const; void add_stock_to_hole_foundation_moves(std::vector<move>&) const; |
