Board that updates groups, pattern states, and vcs. More...
#include <HexBoard.hpp>
Classes | |
struct | History |
Stores state of the board. More... | |
Public Member Functions | |
HexBoard (int width, int height, const ICEngine &ice, VCBuilderParam ¶m) | |
Creates a rectangular board. | |
HexBoard (const HexBoard &other) | |
Copy constructor. | |
~HexBoard () | |
Destructor. | |
void | ComputeAll (HexColor color) |
Clears history. | |
void | PlayMove (HexColor color, HexPoint cell) |
Stores old state on stack, plays move to board, updates ics/vcs. | |
void | PlayStones (HexColor color, const bitset_t &played, HexColor color_to_move) |
Stores old state on stack, plays set of stones, updates ics/vcs. | |
void | UndoMove () |
Reverts to last state stored on the stack, restoring all state info. | |
StoneBoard & | GetPosition () |
const StoneBoard & | GetPosition () const |
const ConstBoard & | Const () const |
bitset_t | GetDead () const |
Returns the set of dead cells on the board. | |
const InferiorCells & | GetInferiorCells () const |
Returns the set of inferior cell. | |
const ICEngine & | ICE () const |
Returns the Inferior Cell Engine the board is using. | |
const Groups & | GetGroups () const |
Groups & | GetGroups () |
const PatternState & | GetPatternState () const |
PatternState & | GetPatternState () |
const VCSet & | Cons (HexColor color) const |
Returns the connection set for color. | |
VCSet & | Cons (HexColor color) |
Returns the connection set for color. | |
VCBuilder & | Builder () |
Returns the connection builder for this board. | |
const VCBuilder & | Builder () const |
Returns the connection builder for this board. | |
int | Width () const |
int | Height () const |
std::string | Write () const |
std::string | Write (const bitset_t &bs) const |
Parameters | |
bool | UseVCs () const |
Whether VCs are computed or not. | |
void | SetUseVCs (bool enable) |
See UseVCs(). | |
bool | UseICE () const |
Whether ICE is used. | |
void | SetUseICE (bool enable) |
See UseICE(). | |
bool | UseDecompositions () const |
Whether decompositions are found and filled-in. | |
void | SetUseDecompositions (bool enable) |
See UseDecompositions(). | |
bool | BackupIceInfo () const |
Whether ICE info is backed-up in UndoMove(). | |
void | SetBackupIceInfo (bool enable) |
See BackupIceInfo(). | |
Private Member Functions | |
void | operator= (const HexBoard &other) |
No assignments allowed! Use the copy constructor if you must make a copy, but you shouldn't be copying boards around very often. | |
void | Initialize () |
void | ComputeInferiorCells (HexColor color_to_move) |
void | BuildVCs () |
void | BuildVCs (const Groups &oldGroups, bitset_t added[BLACK_AND_WHITE], bool use_changelog) |
void | MarkChangeLog () |
void | RevertVCs () |
void | HandleVCDecomposition (HexColor color_to_move, bool use_changelog) |
In non-terminal states, checks for combinatorial decomposition with a vc using BoardUtils::FindCombinatorialDecomposition(). | |
void | AddStones (HexColor color, const bitset_t &played, HexColor color_to_move, bool use_changelog) |
Adds stones for color to board with color_to_move about to play next; added stones must be a subset of the empty cells. | |
void | ClearHistory () |
void | PushHistory (HexColor color, HexPoint cell) |
void | PopHistory () |
Restores the old board position, backs up ice info, and reverts virtual connections. | |
Private Attributes | |
Member variables. | |
StoneBoard | m_brd |
const ICEngine * | m_ice |
ICEngine used to compute inferior cells. | |
Groups | m_groups |
PatternState | m_patterns |
VCBuilder | m_builder |
Builder used to compute virtual connections. | |
boost::scoped_ptr< VCSet > | m_cons [BLACK_AND_WHITE] |
Connection sets for black and white. | |
ChangeLog< VC > | m_log [BLACK_AND_WHITE] |
The vc changelogs for both black and white. | |
std::vector< History > | m_history |
History stack. | |
InferiorCells | m_inf |
The set of inferior cells for the current boardstate. | |
bool | m_use_vcs |
See UseVCs(). | |
bool | m_use_ice |
See UseICE(). | |
bool | m_use_decompositions |
See UseDecompositions(). | |
bool | m_backup_ice_info |
See BackupIceInfo(). |
Board that updates groups, pattern states, and vcs.
Definition at line 27 of file HexBoard.hpp.
HexBoard::HexBoard | ( | int | width, | |
int | height, | |||
const ICEngine & | ice, | |||
VCBuilderParam & | param | |||
) |
HexBoard::HexBoard | ( | const HexBoard & | other | ) |
Copy constructor.
Definition at line 35 of file HexBoard.cpp.
References PatternState::CopyState(), GetPatternState(), m_cons, m_log, and m_patterns.
HexBoard::~HexBoard | ( | ) |
Destructor.
Definition at line 64 of file HexBoard.cpp.
void HexBoard::AddStones | ( | HexColor | color, | |
const bitset_t & | played, | |||
HexColor | color_to_move, | |||
bool | use_changelog | |||
) | [private] |
Adds stones for color to board with color_to_move about to play next; added stones must be a subset of the empty cells.
Does not affect the hash of this state. State is not pushed onto stack, so a call to UndoMove() will undo these changes along with the last changes that changed the stack.
Definition at line 246 of file HexBoard.cpp.
References StoneBoard::AddColor(), BLACK, BLACK_AND_WHITE, GroupBuilder::Build(), BuildVCs(), ComputeInferiorCells(), Get(), StoneBoard::GetColor(), GetPosition(), HexAssert, BitsetUtil::IsSubsetOf(), LogFine(), m_brd, m_groups, m_patterns, m_use_vcs, HexPointUtil::ToString(), PatternState::Update(), and WHITE.
Referenced by HandleVCDecomposition().
bool HexBoard::BackupIceInfo | ( | ) | const [inline] |
Whether ICE info is backed-up in UndoMove().
Definition at line 348 of file HexBoard.hpp.
References m_backup_ice_info.
Referenced by HexEnvironmentCommands::ParamBoard().
const VCBuilder & HexBoard::Builder | ( | ) | const [inline] |
Returns the connection builder for this board.
Definition at line 313 of file HexBoard.hpp.
References m_builder.
VCBuilder & HexBoard::Builder | ( | ) | [inline] |
Returns the connection builder for this board.
Definition at line 308 of file HexBoard.hpp.
References m_builder.
Referenced by VCCommands::CmdBuilderStats(), ProofUtil::InitialProofForOpponent(), HexEnvironmentCommands::ParamVC(), ResistanceUtil::SimulateAndOverEdge(), and HexUctState::StartSearch().
void HexBoard::BuildVCs | ( | const Groups & | oldGroups, | |
bitset_t | added[BLACK_AND_WHITE], | |||
bool | use_changelog | |||
) | [private] |
Definition at line 86 of file HexBoard.cpp.
References BLACK, VCBuilder::Build(), HexAssert, m_builder, m_cons, m_groups, m_log, m_patterns, and WHITE.
void HexBoard::BuildVCs | ( | ) | [private] |
Definition at line 80 of file HexBoard.cpp.
References VCBuilder::Build(), m_builder, m_cons, m_groups, and m_patterns.
Referenced by AddStones(), ComputeAll(), PlayMove(), and PlayStones().
void HexBoard::ClearHistory | ( | ) | [private] |
void HexBoard::ComputeAll | ( | HexColor | color | ) |
Clears history.
Computes dead/vcs for current state.
Definition at line 154 of file HexBoard.cpp.
References GroupBuilder::Build(), BuildVCs(), InferiorCells::Clear(), VCBuilder::ClearStatistics(), ComputeInferiorCells(), Get(), HandleVCDecomposition(), LogFine(), m_brd, m_builder, m_groups, m_inf, m_patterns, m_use_vcs, and PatternState::Update().
Referenced by VCCommands::CmdBuildStatic(), BenzeneHtpEngine::CmdEvalInfluence(), BenzeneHtpEngine::CmdEvalResistDelta(), BenzeneHtpEngine::CmdEvalTwoDist(), BenzeneHtpEngine::CmdFindCombDecomp(), BenzeneHtpEngine::CmdFindSplitDecomp(), DfpnCommands::CmdFindWinning(), DfsCommands::CmdSolverFindWinning(), BookBuilder< PLAYER >::GenerateMoves(), PlayAndSolve::GenMove(), BenzenePlayer::InitSearch(), DfpnSolver::MID(), PerfectPlayer::Search(), and DfsSolver::Solve().
void HexBoard::ComputeInferiorCells | ( | HexColor | color_to_move | ) | [private] |
Definition at line 70 of file HexBoard.cpp.
References ICEngine::ComputeInferiorCells(), m_groups, m_ice, m_inf, m_patterns, m_use_ice, and IceUtil::Update().
Referenced by AddStones(), ComputeAll(), PlayMove(), and PlayStones().
Returns the connection set for color.
Definition at line 303 of file HexBoard.hpp.
References m_cons.
Returns the connection set for color.
Definition at line 298 of file HexBoard.hpp.
References m_cons.
Referenced by BenzeneHtpEngine::CmdEvalInfluence(), VCCommands::CmdGetVCsBetween(), VCCommands::CmdSetInfo(), VCCommands::CmdVCIntersection(), VCCommands::CmdVCUnion(), VCUtils::GetMustplay(), ProofUtil::InitialProofForOpponent(), TwoDistance::IsAdjacent(), EndgameUtils::IsLostGame(), EndgameUtils::IsWonGame(), DfsSolver::OrderMoves(), and HexEnvironmentCommands::ParamVC().
const ConstBoard & HexBoard::Const | ( | ) | const [inline] |
Definition at line 258 of file HexBoard.hpp.
References StoneBoard::Const(), and m_brd.
Referenced by BenzeneHtpEngine::CmdEvalInfluence(), BenzeneHtpEngine::CmdEvalResist(), BenzeneHtpEngine::CmdEvalTwoDist(), TwoDistance::ComputeScores(), BoardUtils::FindSplittingDecomposition(), DfsSolver::HandleProof(), Initialize(), DfsSolver::OrderMoves(), TwoDistance::SetAllToInfinity(), and DfsSolver::SolveDecomposition().
bitset_t HexBoard::GetDead | ( | ) | const [inline] |
Returns the set of dead cells on the board.
This is the union of all cells found dead previously during the history of moves since the last ComputeAll() call.
Definition at line 263 of file HexBoard.hpp.
References InferiorCells::Dead(), and m_inf.
Referenced by DfsSolver::HandleProof(), and DfsSolver::SolveDecomposition().
Groups & HexBoard::GetGroups | ( | ) | [inline] |
Definition at line 283 of file HexBoard.hpp.
References m_groups.
const Groups & HexBoard::GetGroups | ( | ) | const [inline] |
Definition at line 278 of file HexBoard.hpp.
References m_groups.
Referenced by BenzeneHtpEngine::CmdComputeDominated(), BenzeneHtpEngine::CmdComputeFillin(), BenzeneHtpEngine::CmdComputeInferior(), BenzeneHtpEngine::CmdComputeReversible(), BenzeneHtpEngine::CmdComputeVulnerable(), BenzeneHtpEngine::CmdEvalInfluence(), VCCommands::CmdGetVCsBetween(), VCCommands::CmdSetInfo(), VCCommands::CmdVCIntersection(), VCCommands::CmdVCUnion(), Resistance::Evaluate(), BoardUtils::FindSplittingDecomposition(), BenzenePlayer::InitSearch(), EndgameUtils::IsLostGame(), EndgameUtils::IsWonGame(), EndgameUtils::PlayDeterminedState(), MoHexPlayer::Search(), and DfsSolver::SolveDecomposition().
const InferiorCells & HexBoard::GetInferiorCells | ( | ) | const [inline] |
Returns the set of inferior cell.
Definition at line 268 of file HexBoard.hpp.
References m_inf.
Referenced by VCCommands::CmdBuildIncremental(), VCCommands::CmdBuildStatic(), ProofUtil::InitialProofForOpponent(), ProofUtil::MaximumProofSet(), PerfectPlayer::Search(), and DfsSolver::SolveInteriorState().
PatternState & HexBoard::GetPatternState | ( | ) | [inline] |
Definition at line 293 of file HexBoard.hpp.
References m_patterns.
const PatternState & HexBoard::GetPatternState | ( | ) | const [inline] |
Definition at line 288 of file HexBoard.hpp.
References m_patterns.
Referenced by BenzeneHtpEngine::CmdComputeDominated(), BenzeneHtpEngine::CmdComputeDominatedOnCell(), BenzeneHtpEngine::CmdComputeFillin(), BenzeneHtpEngine::CmdComputeInferior(), BenzeneHtpEngine::CmdComputeReversible(), BenzeneHtpEngine::CmdComputeVulnerable(), HexBoard(), and MoHexPlayer::Search().
const StoneBoard & HexBoard::GetPosition | ( | ) | const [inline] |
Definition at line 253 of file HexBoard.hpp.
References m_brd.
StoneBoard & HexBoard::GetPosition | ( | ) | [inline] |
Definition at line 248 of file HexBoard.hpp.
References m_brd.
Referenced by AddStones(), VCCommands::CmdBuildIncremental(), VCCommands::CmdBuildStatic(), BenzeneHtpEngine::CmdComputeDominated(), BenzeneHtpEngine::CmdComputeFillin(), BenzeneHtpEngine::CmdComputeInferior(), BenzeneHtpEngine::CmdComputeReversible(), BenzeneHtpEngine::CmdComputeVulnerable(), BenzeneHtpEngine::CmdEvalInfluence(), BenzeneHtpEngine::CmdEvalResist(), BenzeneHtpEngine::CmdEvalResistDelta(), BenzeneHtpEngine::CmdEvalTwoDist(), DfpnCommands::CmdFindWinning(), DfsCommands::CmdSolverFindWinning(), TwoDistance::ComputeDistanceToEdge(), WolveSearch::ComputeResistance(), TwoDistance::ComputeScores(), TwoDistance::FindBest(), BookBuilder< PLAYER >::GenerateMoves(), PlayAndSolve::GenMove(), VCUtils::GetMustplay(), DfsSolver::HandleProof(), ProofUtil::InitialProofForOpponent(), BenzenePlayer::InitSearch(), EndgameUtils::IsLostGame(), ProofUtil::MaximumProofSet(), DfpnSolver::MID(), HexUctSearch::OnStartSearch(), PlayAndSolve::SolverThread::operator()(), PlayAndSolve::PlayerThread::operator()(), BookBuilder< PLAYER >::Worker::operator()(), DfsSolver::OrderMoves(), PlayStones(), PerfectPlayer::Search(), MoHexPlayer::Search(), HandicapPlayer::Search(), HexAbSearch::SearchState(), DfsSolver::SolveDecomposition(), and DfsSolver::SolveInteriorState().
void HexBoard::HandleVCDecomposition | ( | HexColor | color_to_move, | |
bool | use_changelog | |||
) | [private] |
In non-terminal states, checks for combinatorial decomposition with a vc using BoardUtils::FindCombinatorialDecomposition().
Plays the carrier using AddStones(). Loops until no more decompositions are found.
Definition at line 114 of file HexBoard.cpp.
References InferiorCells::AddCaptured(), AddStones(), BoardUtils::FindCombinatorialDecomposition(), Groups::IsGameOver(), LogFine(), m_brd, m_groups, m_inf, m_use_decompositions, and StoneBoard::Write().
Referenced by ComputeAll(), PlayMove(), and PlayStones().
int HexBoard::Height | ( | ) | const [inline] |
Definition at line 363 of file HexBoard.hpp.
References StoneBoard::Height(), and m_brd.
Referenced by HexUctSearch::AppendGame(), WolveSearch::ComputeResistance(), VulPreCheck::KillLastMove(), HexUctSearch::OnStartSearch(), HexUctSearch::SaveGames(), MoHexPlayer::Search(), HandicapPlayer::Search(), and HexUctState::StartSearch().
const ICEngine & HexBoard::ICE | ( | ) | const [inline] |
Returns the Inferior Cell Engine the board is using.
Definition at line 273 of file HexBoard.hpp.
References m_ice.
Referenced by DfsCommands::CmdSolverFindWinning(), DfsCommands::CmdSolveState(), DfsSolver::HandleProof(), VulPreCheck::KillLastMove(), DfsSolver::Solve(), and HexUctState::StartSearch().
void HexBoard::Initialize | ( | ) | [private] |
Definition at line 56 of file HexBoard.cpp.
References GroupBuilder::Build(), ClearHistory(), Const(), m_brd, m_cons, and m_groups.
Referenced by HexBoard().
void HexBoard::MarkChangeLog | ( | ) | [private] |
Definition at line 98 of file HexBoard.cpp.
References BLACK, m_log, ChangeLog< T >::push(), and WHITE.
Referenced by PlayMove(), and PlayStones().
void HexBoard::operator= | ( | const HexBoard & | other | ) | [private] |
No assignments allowed! Use the copy constructor if you must make a copy, but you shouldn't be copying boards around very often.
Stores old state on stack, plays move to board, updates ics/vcs.
Hash is modified by the move. Allows ice info to be backed-up.
Definition at line 175 of file HexBoard.cpp.
References BLACK, BLACK_AND_WHITE, GroupBuilder::Build(), BuildVCs(), VCBuilder::ClearStatistics(), ComputeInferiorCells(), Get(), StoneBoard::GetColor(), HandleVCDecomposition(), LogFine(), m_brd, m_builder, m_groups, m_patterns, m_use_vcs, MarkChangeLog(), StoneBoard::PlayMove(), PushHistory(), PatternState::Update(), and WHITE.
Referenced by VCCommands::CmdBuildIncremental(), BenzeneHtpEngine::CmdEvalResistDelta(), WolveSearch::ExecuteMove(), MoHexPlayer::PerformPreSearch(), and DfsSolver::PlayMove().
Stores old state on stack, plays set of stones, updates ics/vcs.
HASH IS NOT MODIFIED! No ice info will be backed up, but this set of moves can be reverted with a single call to UndoMove().
Definition at line 206 of file HexBoard.cpp.
References StoneBoard::AddColor(), BLACK, BLACK_AND_WHITE, GroupBuilder::Build(), BuildVCs(), VCBuilder::ClearStatistics(), ComputeInferiorCells(), Get(), StoneBoard::GetColor(), GetPosition(), HandleVCDecomposition(), HexAssert, INVALID_POINT, BitsetUtil::IsSubsetOf(), LogFine(), m_brd, m_builder, m_groups, m_patterns, m_use_vcs, MarkChangeLog(), PushHistory(), HexPointUtil::ToString(), PatternState::Update(), and WHITE.
Referenced by DfsSolver::SolveDecomposition().
void HexBoard::PopHistory | ( | ) | [private] |
Restores the old board position, backs up ice info, and reverts virtual connections.
Definition at line 300 of file HexBoard.cpp.
References InferiorCells::Captured(), InferiorCells::Dead(), StoneBoard::GetEmpty(), HexAssert, INVALID_POINT, m_backup_ice_info, m_brd, m_groups, m_history, m_inf, RevertVCs(), and StoneBoard::SetPosition().
Referenced by UndoMove().
Definition at line 293 of file HexBoard.cpp.
References m_brd, m_groups, m_history, and m_inf.
Referenced by PlayMove(), and PlayStones().
void HexBoard::RevertVCs | ( | ) | [private] |
Definition at line 104 of file HexBoard.cpp.
Referenced by PopHistory().
void HexBoard::SetBackupIceInfo | ( | bool | enable | ) | [inline] |
See BackupIceInfo().
Definition at line 353 of file HexBoard.hpp.
References m_backup_ice_info.
Referenced by HexEnvironmentCommands::ParamBoard().
void HexBoard::SetUseDecompositions | ( | bool | enable | ) | [inline] |
See UseDecompositions().
Definition at line 343 of file HexBoard.hpp.
References m_use_decompositions.
Referenced by BenzeneHtpEngine::CmdFindCombDecomp(), and HexEnvironmentCommands::ParamBoard().
void HexBoard::SetUseICE | ( | bool | enable | ) | [inline] |
See UseICE().
Definition at line 333 of file HexBoard.hpp.
References m_use_ice.
Referenced by BookBuilder< PLAYER >::GenerateMoves(), BenzenePlayer::InitSearch(), and HexEnvironmentCommands::ParamBoard().
void HexBoard::SetUseVCs | ( | bool | enable | ) | [inline] |
See UseVCs().
Definition at line 323 of file HexBoard.hpp.
References m_use_vcs.
Referenced by HexEnvironmentCommands::ParamBoard().
void HexBoard::UndoMove | ( | ) |
Reverts to last state stored on the stack, restoring all state info.
If the option is on, also backs up inferior cell info.
Definition at line 275 of file HexBoard.cpp.
References Get(), LogFine(), m_patterns, PopHistory(), and PatternState::Update().
Referenced by BenzeneHtpEngine::CmdEvalResistDelta(), MoHexPlayer::PerformPreSearch(), DfsSolver::SolveDecomposition(), WolveSearch::UndoMove(), and DfsSolver::UndoMove().
bool HexBoard::UseDecompositions | ( | ) | const [inline] |
Whether decompositions are found and filled-in.
Definition at line 338 of file HexBoard.hpp.
References m_use_decompositions.
Referenced by BenzeneHtpEngine::CmdFindCombDecomp(), and HexEnvironmentCommands::ParamBoard().
bool HexBoard::UseICE | ( | ) | const [inline] |
Whether ICE is used.
Definition at line 328 of file HexBoard.hpp.
References m_use_ice.
Referenced by BookBuilder< PLAYER >::GenerateMoves(), BenzenePlayer::InitSearch(), and HexEnvironmentCommands::ParamBoard().
bool HexBoard::UseVCs | ( | ) | const [inline] |
Whether VCs are computed or not.
Definition at line 318 of file HexBoard.hpp.
References m_use_vcs.
Referenced by HexEnvironmentCommands::ParamBoard().
int HexBoard::Width | ( | ) | const [inline] |
Definition at line 358 of file HexBoard.hpp.
References m_brd, and StoneBoard::Width().
Referenced by WolveSearch::ComputeResistance(), VulPreCheck::KillLastMove(), HexUctSearch::OnStartSearch(), MoHexPlayer::Search(), HandicapPlayer::Search(), and HexUctState::StartSearch().
std::string HexBoard::Write | ( | const bitset_t & | bs | ) | const [inline] |
Definition at line 373 of file HexBoard.hpp.
References m_brd, and StoneBoard::Write().
std::string HexBoard::Write | ( | ) | const [inline] |
Definition at line 368 of file HexBoard.hpp.
References m_brd, and StoneBoard::Write().
Referenced by DfsCommands::CmdSolveState(), DfsSolver::HandleProof(), EndgameUtils::MovesToConsider(), operator<<(), DfsSolver::OrderMoves(), MoHexPlayer::PerformPreSearch(), WolvePlayer::Search(), and DfsSolver::SolveDecomposition().
bool HexBoard::m_backup_ice_info [private] |
See BackupIceInfo().
Definition at line 212 of file HexBoard.hpp.
Referenced by BackupIceInfo(), PopHistory(), and SetBackupIceInfo().
StoneBoard HexBoard::m_brd [private] |
Definition at line 178 of file HexBoard.hpp.
Referenced by AddStones(), ComputeAll(), Const(), GetPosition(), HandleVCDecomposition(), Height(), Initialize(), PlayMove(), PlayStones(), PopHistory(), PushHistory(), Width(), and Write().
VCBuilder HexBoard::m_builder [private] |
Builder used to compute virtual connections.
Definition at line 188 of file HexBoard.hpp.
Referenced by Builder(), BuildVCs(), ComputeAll(), PlayMove(), and PlayStones().
boost::scoped_ptr<VCSet> HexBoard::m_cons[BLACK_AND_WHITE] [private] |
Connection sets for black and white.
Definition at line 191 of file HexBoard.hpp.
Referenced by BuildVCs(), Cons(), HexBoard(), Initialize(), and RevertVCs().
Groups HexBoard::m_groups [private] |
Definition at line 183 of file HexBoard.hpp.
Referenced by AddStones(), BuildVCs(), ComputeAll(), ComputeInferiorCells(), GetGroups(), HandleVCDecomposition(), Initialize(), PlayMove(), PlayStones(), PopHistory(), and PushHistory().
std::vector<History> HexBoard::m_history [private] |
History stack.
Definition at line 197 of file HexBoard.hpp.
Referenced by ClearHistory(), PopHistory(), and PushHistory().
const ICEngine* HexBoard::m_ice [private] |
ICEngine used to compute inferior cells.
Definition at line 181 of file HexBoard.hpp.
Referenced by ComputeInferiorCells(), and ICE().
InferiorCells HexBoard::m_inf [private] |
The set of inferior cells for the current boardstate.
Definition at line 200 of file HexBoard.hpp.
Referenced by ComputeAll(), ComputeInferiorCells(), GetDead(), GetInferiorCells(), HandleVCDecomposition(), PopHistory(), and PushHistory().
ChangeLog<VC> HexBoard::m_log[BLACK_AND_WHITE] [private] |
The vc changelogs for both black and white.
Definition at line 194 of file HexBoard.hpp.
Referenced by BuildVCs(), HexBoard(), MarkChangeLog(), and RevertVCs().
PatternState HexBoard::m_patterns [private] |
Definition at line 185 of file HexBoard.hpp.
Referenced by AddStones(), BuildVCs(), ComputeAll(), ComputeInferiorCells(), GetPatternState(), HexBoard(), PlayMove(), PlayStones(), and UndoMove().
bool HexBoard::m_use_decompositions [private] |
See UseDecompositions().
Definition at line 209 of file HexBoard.hpp.
Referenced by HandleVCDecomposition(), SetUseDecompositions(), and UseDecompositions().
bool HexBoard::m_use_ice [private] |
See UseICE().
Definition at line 206 of file HexBoard.hpp.
Referenced by ComputeInferiorCells(), SetUseICE(), and UseICE().
bool HexBoard::m_use_vcs [private] |
See UseVCs().
Definition at line 203 of file HexBoard.hpp.
Referenced by AddStones(), ComputeAll(), PlayMove(), PlayStones(), SetUseVCs(), and UseVCs().