Set of positions; handles rotations. More...
#include <StateDB.hpp>
Public Member Functions | |
StateSet () | |
~StateSet () | |
void | Insert (const HexState &state) |
bool | Exists (const HexState &state) const |
std::size_t | Size () const |
Private Attributes | |
std::set< hash_t > | m_set |
Set of positions; handles rotations.
Definition at line 204 of file StateDB.hpp.
StateSet::StateSet | ( | ) | [inline] |
Definition at line 221 of file StateDB.hpp.
StateSet::~StateSet | ( | ) | [inline] |
Definition at line 225 of file StateDB.hpp.
bool StateSet::Exists | ( | const HexState & | state | ) | const [inline] |
Definition at line 234 of file StateDB.hpp.
References _BEGIN_BENZENE_NAMESPACE_::GetHash(), and m_set.
void StateSet::Insert | ( | const HexState & | state | ) | [inline] |
Definition at line 229 of file StateDB.hpp.
References _BEGIN_BENZENE_NAMESPACE_::GetHash(), and m_set.
Referenced by BookCommands::CmdBookDumpPolarizedLeafs().
std::size_t StateSet::Size | ( | ) | const [inline] |
Definition at line 239 of file StateDB.hpp.
References m_set.
Referenced by BookCommands::CmdBookDumpPolarizedLeafs().
std::set<hash_t> StateSet::m_set [private] |
Definition at line 218 of file StateDB.hpp.