|
ADS
Algorithms and Data Structures
|
the iterator of the view, constant, forward More...
#include <ADS/priority/FibonacciHeapPriorityQueue.h>
Public types | |
| using | reference = PairRef< const P & , const T & > |
| the pair of the priority and of the item of a node the type of a reference to an item of the view | |
| using | value_type = std::pair< P , T > |
| the type of the items of the view | |
| using | difference_type = std::ptrdiff_t |
| the type of the distances between iterators | |
| using | iterator_concept = std::forward_iterator_tag |
| a forward iterator for the concepts of C++20 | |
| using | iterator_category = std::input_iterator_tag |
| an input iterator for the older algorithms, since reference is not a reference | |
Public member functions | |
| const_iterator (void)=default | |
| the end of the view | |
| const_iterator (const Node *min) | |
| the first node of the view, the root \( \mathit{min} \) | |
| reference | operator* (void) const |
| the priority and the item of the node | |
| const_iterator & | operator++ (void) |
| the next node in preorder | |
| const_iterator | operator++ (int) |
| the next node in preorder, returning the iterator before the step | |
| bool | operator== (const const_iterator &o) const |
| whether the two iterators are on the same node | |
the iterator of the view, constant, forward
| using ADS::FibonacciHeapPriorityQueue< T, P, A >::const_iterator::difference_type = std::ptrdiff_t |
the type of the distances between iterators
| using ADS::FibonacciHeapPriorityQueue< T, P, A >::const_iterator::iterator_category = std::input_iterator_tag |
an input iterator for the older algorithms, since reference is not a reference
| using ADS::FibonacciHeapPriorityQueue< T, P, A >::const_iterator::iterator_concept = std::forward_iterator_tag |
a forward iterator for the concepts of C++20
| using ADS::FibonacciHeapPriorityQueue< T, P, A >::const_iterator::reference = PairRef< const P & , const T & > |
the pair of the priority and of the item of a node the type of a reference to an item of the view
| using ADS::FibonacciHeapPriorityQueue< T, P, A >::const_iterator::value_type = std::pair< P , T > |
the type of the items of the view
|
default |
the end of the view
|
inlineexplicit |
the first node of the view, the root \( \mathit{min} \)
|
inline |
the priority and the item of the node
|
inline |
the next node in preorder, returning the iterator before the step
|
inline |
the next node in preorder
|
inline |
whether the two iterators are on the same node