Groups a HexBoard, ICEngine, and VCBuilderParam objects, which correspond to a set of parameters that can be changed. More...
#include <HexEnvironment.hpp>
Public Member Functions | |
HexEnvironment (int width, int height) | |
void | NewGame (int width, int height) |
HexBoard & | SyncBoard (const StoneBoard &brd) |
Public Attributes | |
ICEngine | ice |
VCBuilderParam | buildParam |
boost::scoped_ptr< HexBoard > | brd |
Groups a HexBoard, ICEngine, and VCBuilderParam objects, which correspond to a set of parameters that can be changed.
Definition at line 19 of file HexEnvironment.hpp.
HexEnvironment::HexEnvironment | ( | int | width, | |
int | height | |||
) |
Definition at line 12 of file HexEnvironment.cpp.
References brd, buildParam, and ice.
void HexEnvironment::NewGame | ( | int | width, | |
int | height | |||
) |
Definition at line 18 of file HexEnvironment.cpp.
References brd, buildParam, and ice.
Referenced by BenzeneHtpEngine::NewGame().
HexBoard & HexEnvironment::SyncBoard | ( | const StoneBoard & | brd | ) |
Definition at line 38 of file HexEnvironment.cpp.
References brd.
Referenced by BookBuilderCommands< PLAYER >::CmdBookExpand(), BookBuilderCommands< PLAYER >::CmdBookIncreaseWidth(), BookBuilderCommands< PLAYER >::CmdBookRefresh(), VCCommands::CmdBuildStatic(), BenzeneHtpEngine::CmdComputeDominated(), BenzeneHtpEngine::CmdComputeDominatedOnCell(), BenzeneHtpEngine::CmdComputeFillin(), BenzeneHtpEngine::CmdComputeInferior(), BenzeneHtpEngine::CmdComputeReversible(), BenzeneHtpEngine::CmdComputeVulnerable(), BenzeneHtpEngine::CmdEvalInfluence(), BenzeneHtpEngine::CmdEvalResistDelta(), BenzeneHtpEngine::CmdEvalTwoDist(), BenzeneHtpEngine::CmdFindCombDecomp(), BenzeneHtpEngine::CmdFindSplitDecomp(), DfpnCommands::CmdFindWinning(), DfsCommands::CmdSolverFindWinning(), DfsCommands::CmdSolveState(), DfpnCommands::CmdSolveState(), MoHexEngine::DoSearch(), WolveEngine::GenMove(), and BenzeneTestEngine::GenMove().
boost::scoped_ptr<HexBoard> HexEnvironment::brd |
Definition at line 31 of file HexEnvironment.hpp.
Referenced by VCCommands::CmdBuilderStats(), VCCommands::CmdBuildIncremental(), BenzeneHtpEngine::CmdEvalResist(), VCCommands::CmdGetCellsConnectedTo(), VCCommands::CmdGetMustPlay(), VCCommands::CmdGetVCsBetween(), BenzeneHtpEngine::CmdMiscDebug(), VCCommands::CmdSetInfo(), VCCommands::CmdUndoIncremental(), VCCommands::CmdVCIntersection(), VCCommands::CmdVCUnion(), MoHexEngine::DoSearch(), WolveEngine::GenMove(), HexEnvironment(), NewGame(), HexEnvironmentCommands::ParamBoard(), HexEnvironmentCommands::ParamVC(), and SyncBoard().
Definition at line 29 of file HexEnvironment.hpp.
Referenced by HexEnvironment(), and NewGame().
Definition at line 27 of file HexEnvironment.hpp.
Referenced by BenzeneHtpEngine::CmdComputeDominated(), BenzeneHtpEngine::CmdComputeDominatedOnCell(), BenzeneHtpEngine::CmdComputeFillin(), BenzeneHtpEngine::CmdComputeInferior(), BenzeneHtpEngine::CmdComputeReversible(), BenzeneHtpEngine::CmdComputeVulnerable(), HexEnvironment(), NewGame(), and HexEnvironmentCommands::ParamICE().