PandA-2024.02
|
Class used to represent a tree of priority queues. More...
#include <rehashed_heap.hpp>
Public Member Functions | |
std::vector< rehashed_heap< _Type > >::iterator | top (const CustomUnorderedMap< vertex, CustomOrderedSet< unsigned int >> ¤_black_list, const priority_data< _Type > &priority_functor, vertex &controlling_vertex, unsigned int &b_tag, bool &found) |
Return the vertex with the highest priority. More... | |
void | rehash () |
Rehash all the heaps in the map. More... | |
Class used to represent a tree of priority queues.
Definition at line 103 of file rehashed_heap.hpp.
|
inline |
Rehash all the heaps in the map.
Definition at line 152 of file rehashed_heap.hpp.
References rehashed_heap< _Type >::begin(), and rehashed_heap< _Type >::end().
|
inline |
Return the vertex with the highest priority.
Precondition: empty() is false.
curren_black_list | is the black list, that is the set of queues not usable. |
priority_functor | is the priority functor. |
controlling_vertex | filled with the controlling vertex in case found is true. |
b_tag | filled with the branch tag when found is true. |
found | is true when there exists a queue with candidate vertices. |
Definition at line 114 of file rehashed_heap.hpp.
References rehashed_heap< _Type >::begin(), and rehashed_heap< _Type >::end().