aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/search-state/game_state.h
diff options
context:
space:
mode:
authorCharlie Blake2018-10-14 16:17:21 +0100
committerGitHub2018-10-14 16:17:21 +0100
commit5bb81a556c5d6cd9aa5bc0a0408c49ca80c90aee (patch)
tree123777db963979a7779f8224ddbf055f6287a161 /src/main/game/search-state/game_state.h
parentMerge pull request #99 from thecharlesblake/pre-filled-cells (diff)
parentAdd maximal built group option (diff)
downloadmetasol-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.h8
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;