Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

StateSet Class Reference

Set of positions; handles rotations. More...

#include <StateDB.hpp>

List of all members.

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_tm_set

Detailed Description

Set of positions; handles rotations.

Definition at line 204 of file StateDB.hpp.


Constructor & Destructor Documentation

StateSet::StateSet (  )  [inline]

Definition at line 221 of file StateDB.hpp.

StateSet::~StateSet (  )  [inline]

Definition at line 225 of file StateDB.hpp.


Member Function Documentation

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().


Member Data Documentation

std::set<hash_t> StateSet::m_set [private]

Definition at line 218 of file StateDB.hpp.

Referenced by Exists(), Insert(), and Size().


The documentation for this class was generated from the following file:


6 Jan 2011 Doxygen 1.6.3