HTP Commands for an environment. More...
#include <HexEnvironment.hpp>
Public Member Functions | |
HexEnvironmentCommands (HexEnvironment &env) | |
~HexEnvironmentCommands () | |
void | Register (GtpEngine &engine, const std::string name) |
Private Member Functions | |
void | ParamICE (HtpCommand &cmd) |
void | ParamVC (HtpCommand &cmd) |
void | ParamBoard (HtpCommand &board) |
void | Register (GtpEngine &engine, const std::string &command, GtpCallback< HexEnvironmentCommands >::Method method) |
Private Attributes | |
HexEnvironment & | m_env |
HTP Commands for an environment.
Definition at line 38 of file HexEnvironment.hpp.
HexEnvironmentCommands::HexEnvironmentCommands | ( | HexEnvironment & | env | ) |
Definition at line 46 of file HexEnvironment.cpp.
HexEnvironmentCommands::~HexEnvironmentCommands | ( | ) |
Definition at line 51 of file HexEnvironment.cpp.
void HexEnvironmentCommands::ParamBoard | ( | HtpCommand & | board | ) | [private] |
Definition at line 177 of file HexEnvironment.cpp.
References HexBoard::BackupIceInfo(), HexEnvironment::brd, m_env, HexBoard::SetBackupIceInfo(), HexBoard::SetUseDecompositions(), HexBoard::SetUseICE(), HexBoard::SetUseVCs(), HexBoard::UseDecompositions(), HexBoard::UseICE(), and HexBoard::UseVCs().
Referenced by Register().
void HexEnvironmentCommands::ParamICE | ( | HtpCommand & | cmd | ) | [private] |
Definition at line 70 of file HexEnvironment.cpp.
References ICEngine::BackupOpponentDead(), ICEngine::FindAllPatternDominators(), ICEngine::FindAllPatternKillers(), ICEngine::FindPermanentlyInferior(), ICEngine::FindPresimplicialPairs(), ICEngine::FindThreeSidedDeadRegions(), HexEnvironment::ice, ICEngine::IterativeDeadRegions(), m_env, ICEngine::SetBackupOpponentDead(), ICEngine::SetFindAllPatternDominators(), ICEngine::SetFindAllPatternKillers(), ICEngine::SetFindPermanentlyInferior(), ICEngine::SetFindPresimplicialPairs(), ICEngine::SetFindThreeSidedDeadRegions(), ICEngine::SetIterativeDeadRegions(), ICEngine::SetUseHandCodedPatterns(), and ICEngine::UseHandCodedPatterns().
Referenced by Register().
void HexEnvironmentCommands::ParamVC | ( | HtpCommand & | cmd | ) | [private] |
Definition at line 119 of file HexEnvironment.cpp.
References VCBuilderParam::abort_on_winning_connection, VCBuilderParam::and_over_edge, BLACK, HexEnvironment::brd, HexBoard::Builder(), HexBoard::Cons(), VC::FULL, m_env, VCBuilderParam::max_ors, VCBuilder::Parameters(), VC::SEMI, VCSet::SetSoftLimit(), VCSet::SoftLimit(), VCBuilderParam::use_greedy_union, VCBuilderParam::use_non_edge_patterns, VCBuilderParam::use_patterns, and WHITE.
Referenced by Register().
void HexEnvironmentCommands::Register | ( | GtpEngine & | engine, | |
const std::string & | command, | |||
GtpCallback< HexEnvironmentCommands >::Method | method | |||
) | [private] |
Definition at line 62 of file HexEnvironment.cpp.
void HexEnvironmentCommands::Register | ( | GtpEngine & | engine, | |
const std::string | name | |||
) |
Definition at line 55 of file HexEnvironment.cpp.
References ParamBoard(), ParamICE(), and ParamVC().
Referenced by BenzeneHtpEngine::BenzeneHtpEngine().
HexEnvironment& HexEnvironmentCommands::m_env [private] |
Definition at line 49 of file HexEnvironment.hpp.
Referenced by ParamBoard(), ParamICE(), and ParamVC().