ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::HeapPriorityQueue< T, P, D >::PriorityItem Struct Reference

the PRIORITYITEM of the book: priority, item, place in the vector More...

#include <ADS/priority/HeapPriorityQueue.h>

Public attributes

P priority
 the priority
T value
 the item
int pos
 the place in the vector of the heap

Detailed description

template<class T, std::totally_ordered P = int, int D = 2>
struct ADS::HeapPriorityQueue< T, P, D >::PriorityItem

the PRIORITYITEM of the book: priority, item, place in the vector

Member data documentation

◆ pos

template<class T, std::totally_ordered P = int, int D = 2>
int ADS::HeapPriorityQueue< T, P, D >::PriorityItem::pos

the place in the vector of the heap

◆ priority

template<class T, std::totally_ordered P = int, int D = 2>
P ADS::HeapPriorityQueue< T, P, D >::PriorityItem::priority

the priority

◆ value

template<class T, std::totally_ordered P = int, int D = 2>
T ADS::HeapPriorityQueue< T, P, D >::PriorityItem::value

the item


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