ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::LinkedHeapPriorityQueue< T, P, L >::Shape Struct Reference

the shape of the tree, for PathIterator More...

#include <ADS/priority/LinkedHeapPriorityQueue.h>

Static public member functions

static auto root (const auto &o)
 the root of the queue \( o \)
static auto left (const auto *n)
 the left child of the node \( n \)
static auto right (const auto *n)
 the right child of the node \( n \)
static auto read (const auto *n)
 the priority and the item of the node \( n \)

Detailed description

template<class T, std::totally_ordered P = int, bool L = false>
struct ADS::LinkedHeapPriorityQueue< T, P, L >::Shape

the shape of the tree, for PathIterator

Member function documentation

◆ left()

template<class T, std::totally_ordered P = int, bool L = false>
auto ADS::LinkedHeapPriorityQueue< T, P, L >::Shape::left ( const auto * n)
inlinestatic

the left child of the node \( n \)

◆ read()

template<class T, std::totally_ordered P = int, bool L = false>
auto ADS::LinkedHeapPriorityQueue< T, P, L >::Shape::read ( const auto * n)
inlinestatic

the priority and the item of the node \( n \)

◆ right()

template<class T, std::totally_ordered P = int, bool L = false>
auto ADS::LinkedHeapPriorityQueue< T, P, L >::Shape::right ( const auto * n)
inlinestatic

the right child of the node \( n \)

◆ root()

template<class T, std::totally_ordered P = int, bool L = false>
auto ADS::LinkedHeapPriorityQueue< T, P, L >::Shape::root ( const auto & o)
inlinestatic

the root of the queue \( o \)


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