|
ADS
Algorithms and Data Structures
|
#include <ADS/priority/BucketQueue.h>
Public types | |
| using | iterator_category = std::forward_iterator_tag |
| forward | |
| using | value_type = T |
| the type of the items | |
| using | difference_type = std::ptrdiff_t |
| the distances | |
| using | reference = const T & |
| a constant reference to an item | |
| using | pointer = const T * |
| a constant pointer to an item | |
Public member functions | |
| const_iterator (void)=default | |
| the singular iterator | |
| const_iterator (const BucketQueue *q, std::size_t f) | |
| on the first item of the layers from \( f \) of the queue q | |
| reference | operator* (void) const |
| the item | |
| pointer | operator-> (void) const |
| the address of the item | |
| const_iterator & | operator++ (void) |
| on the next item in the order of the extractions | |
| const_iterator | operator++ (int) |
| on the next item, returning the iterator before | |
| bool | operator== (const const_iterator &o) const |
| whether on the same item, or both at the end | |
| using ADS::BucketQueue< T, K, Tie, Policy >::const_iterator::difference_type = std::ptrdiff_t |
the distances
| using ADS::BucketQueue< T, K, Tie, Policy >::const_iterator::iterator_category = std::forward_iterator_tag |
forward
| using ADS::BucketQueue< T, K, Tie, Policy >::const_iterator::pointer = const T * |
a constant pointer to an item
| using ADS::BucketQueue< T, K, Tie, Policy >::const_iterator::reference = const T & |
a constant reference to an item
| using ADS::BucketQueue< T, K, Tie, Policy >::const_iterator::value_type = T |
the type of the items
|
default |
the singular iterator
|
inline |
on the first item of the layers from \( f \) of the queue q
|
inline |
the item
|
inline |
on the next item, returning the iterator before
|
inline |
on the next item in the order of the extractions
|
inline |
the address of the item
|
inline |
whether on the same item, or both at the end