Queue of endpoint pairs that need processing. More...
Public Member Functions | |
WorkQueue () | |
bool | empty () const |
const HexPointPair & | front () const |
std::size_t | capacity () const |
void | clear () |
void | pop () |
void | push (const HexPointPair &pair) |
Private Attributes | |
std::size_t | m_head |
std::vector< HexPointPair > | m_array |
bool | m_seen [BITSETSIZE][BITSETSIZE] |
Queue of endpoint pairs that need processing.
Definition at line 178 of file VCBuilder.hpp.
VCBuilder::WorkQueue::WorkQueue | ( | ) |
Definition at line 878 of file VCBuilder.cpp.
std::size_t VCBuilder::WorkQueue::capacity | ( | ) | const |
Definition at line 894 of file VCBuilder.cpp.
References m_array.
void VCBuilder::WorkQueue::clear | ( | ) |
Definition at line 899 of file VCBuilder.cpp.
References m_array, m_head, and m_seen.
Referenced by VCBuilder::Build().
bool VCBuilder::WorkQueue::empty | ( | ) | const |
Definition at line 884 of file VCBuilder.cpp.
References m_array, and m_head.
Referenced by VCBuilder::DoSearch().
const HexPointPair & VCBuilder::WorkQueue::front | ( | ) | const |
Definition at line 889 of file VCBuilder.cpp.
References m_array, and m_head.
Referenced by VCBuilder::DoSearch(), and pop().
void VCBuilder::WorkQueue::pop | ( | ) |
Definition at line 906 of file VCBuilder.cpp.
References front(), m_head, and m_seen.
Referenced by VCBuilder::DoSearch().
void VCBuilder::WorkQueue::push | ( | const HexPointPair & | pair | ) |
Definition at line 912 of file VCBuilder.cpp.
References m_array, and m_seen.
Referenced by VCBuilder::AddBaseVCs(), VCBuilder::AddNewFull(), VCBuilder::AddNewSemi(), VCBuilder::AddPatternVCs(), VCBuilder::MergeAndShrink(), and VCBuilder::RemoveAllContaining().
std::vector<HexPointPair> VCBuilder::WorkQueue::m_array [private] |
Definition at line 192 of file VCBuilder.hpp.
Referenced by capacity(), clear(), empty(), front(), and push().
std::size_t VCBuilder::WorkQueue::m_head [private] |
bool VCBuilder::WorkQueue::m_seen[BITSETSIZE][BITSETSIZE] [private] |
Definition at line 193 of file VCBuilder.hpp.