|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
#include <tpl_binHeap.H>
Public Member Functions | |
| Iterator () noexcept | |
| Default constructor creates an "end" iterator. | |
| Iterator (const GenBinHeap &h) | |
| void | reset_first () noexcept |
| void | reset_last () noexcept |
| bool | has_curr () const noexcept |
| Node * | get_curr_ne () const noexcept |
| Node * | get_curr () const |
| void | next_ne () noexcept |
| void | next () |
| size_t | get_pos () const noexcept |
| void | end () noexcept |
Private Attributes | |
| GenBinHeap * | heap_ptr = nullptr |
| InlineStack< Node *, Stack_Size > | s |
| Node * | curr = nullptr |
| size_t | pos = 0 |
Static Private Attributes | |
| static const size_t | Stack_Size = 64 |
Definition at line 1291 of file tpl_binHeap.H.
|
inlinenoexcept |
Default constructor creates an "end" iterator.
Definition at line 1302 of file tpl_binHeap.H.
|
inline |
Definition at line 1304 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr, h, and Aleph::GenBinHeap< NodeType, Key, Compare >::root.
|
inlinenoexcept |
Definition at line 1384 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr, Aleph::InlineStack< T, N >::empty(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::heap_ptr, Aleph::GenBinHeap< NodeType, Key, Compare >::num_nodes, Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::pos, and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::s.
|
inline |
Definition at line 1346 of file tpl_binHeap.H.
References ah_overflow_error_if, Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::get_curr_ne(), and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::has_curr().
|
inlinenoexcept |
Definition at line 1344 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::get_curr().
|
inlinenoexcept |
Definition at line 1382 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::pos.
|
inlinenoexcept |
Definition at line 1342 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::get_curr(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::next(), and TEST().
|
inline |
Definition at line 1376 of file tpl_binHeap.H.
References ah_overflow_error_if, Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::has_curr(), and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::next_ne().
|
inlinenoexcept |
Definition at line 1352 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::advance_left(), Aleph::GenBinHeap< NodeType, Key, Compare >::advance_right(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr, Aleph::InlineStack< T, N >::is_empty(), l, Aleph::InlineStack< T, N >::pop(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::pos, Aleph::InlineStack< T, N >::push(), r, and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::s.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::next().
|
inlinenoexcept |
Definition at line 1312 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr, Aleph::InlineStack< T, N >::empty(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::heap_ptr, Aleph::GenBinHeap< NodeType, Key, Compare >::is_empty(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::pos, Aleph::GenBinHeap< NodeType, Key, Compare >::root, and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::s.
|
inlinenoexcept |
Definition at line 1322 of file tpl_binHeap.H.
References Aleph::GenBinHeap< NodeType, Key, Compare >::advance_right(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::curr, Aleph::InlineStack< T, N >::empty(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::heap_ptr, Aleph::GenBinHeap< NodeType, Key, Compare >::is_empty(), Aleph::GenBinHeap< NodeType, Key, Compare >::num_nodes, Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::pos, Aleph::GenBinHeap< NodeType, Key, Compare >::root, and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::s.
|
private |
Definition at line 1297 of file tpl_binHeap.H.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::Iterator(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::end(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::get_curr_ne(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::has_curr(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::next_ne(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_first(), and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_last().
|
private |
Definition at line 1295 of file tpl_binHeap.H.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::end(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_first(), and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_last().
|
private |
Definition at line 1298 of file tpl_binHeap.H.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::end(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::get_pos(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::next_ne(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_first(), and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_last().
|
private |
Definition at line 1296 of file tpl_binHeap.H.
Referenced by Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::end(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::next_ne(), Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_first(), and Aleph::GenBinHeap< NodeType, Key, Compare >::Iterator::reset_last().
|
staticprivate |
Definition at line 1293 of file tpl_binHeap.H.