diff options
| author | Charlie Blake | 2018-10-14 16:17:21 +0100 |
|---|---|---|
| committer | GitHub | 2018-10-14 16:17:21 +0100 |
| commit | 5bb81a556c5d6cd9aa5bc0a0408c49ca80c90aee (patch) | |
| tree | 123777db963979a7779f8224ddbf055f6287a161 /src/main/game/search-state/game_state.h | |
| parent | Merge pull request #99 from thecharlesblake/pre-filled-cells (diff) | |
| parent | Add maximal built group option (diff) | |
| download | metasol-5bb81a556c5d6cd9aa5bc0a0408c49ca80c90aee.tar.gz metasol-5bb81a556c5d6cd9aa5bc0a0408c49ca80c90aee.zip | |
Merge pull request #100 from thecharlesblake/maximal-built-group
Add maximal built group option
Diffstat (limited to 'src/main/game/search-state/game_state.h')
| -rw-r--r-- | src/main/game/search-state/game_state.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/game/search-state/game_state.h b/src/main/game/search-state/game_state.h index 9bbea23..512652f 100644 --- a/src/main/game/search-state/game_state.h +++ b/src/main/game/search-state/game_state.h @@ -114,15 +114,15 @@ private: bool is_valid_hole_move(card) const; void add_valid_tableau_moves(std::vector<move>&, pile::ref) const; - void add_built_group_moves(std::vector<move>&) const; - void add_built_group_moves(std::vector<move>&, pile::ref, pile::size_type) const; + void add_built_group_moves(std::vector<move>&, bool) const; + void add_built_group_moves(std::vector<move>&, pile::ref, pile::size_type, bool) const; void add_whole_pile_moves(std::vector<move>&) const; void add_whole_pile_moves(std::vector<move>&, pile::ref, pile::size_type) const; pile::size_type get_built_group_height(pile::ref) const; bool is_next_built_group_card(card, card) const; - void add_empty_built_group_moves(std::vector<move>&, pile::ref, pile::ref, pile::size_type, bool) const; + void add_empty_built_group_moves(std::vector<move>&, pile::ref, pile::ref, pile::size_type, bool, bool) const; void add_kings_only_built_group_move(std::vector<move>&, pile::ref, pile::ref, pile::size_type, bool) const; - void add_non_empty_built_group_move(std::vector<move>&, pile::ref, pile::ref, pile::size_type, bool) const; + void add_non_empty_built_group_move(std::vector<move>&, pile::ref, pile::ref, pile::size_type, bool, bool) const; void add_sequence_moves(std::vector<move>&) const; bool tableau_space_and_auto_reserve() const; |
