PandA-2024.02
Public Member Functions
tree_rehashed_heap< _Type > Struct Template Reference

Class used to represent a tree of priority queues. More...

#include <rehashed_heap.hpp>

Inheritance diagram for tree_rehashed_heap< _Type >:
Inheritance graph
[legend]
Collaboration diagram for tree_rehashed_heap< _Type >:
Collaboration graph
[legend]

Public Member Functions

std::vector< rehashed_heap< _Type > >::iterator top (const CustomUnorderedMap< vertex, CustomOrderedSet< unsigned int >> &curren_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...
 

Detailed Description

template<class _Type>
struct tree_rehashed_heap< _Type >

Class used to represent a tree of priority queues.

Definition at line 103 of file rehashed_heap.hpp.

Member Function Documentation

◆ rehash()

template<class _Type >
void tree_rehashed_heap< _Type >::rehash ( )
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().

Here is the call graph for this function:

◆ top()

template<class _Type >
std::vector<rehashed_heap<_Type> >::iterator tree_rehashed_heap< _Type >::top ( const CustomUnorderedMap< vertex, CustomOrderedSet< unsigned int >> &  curren_black_list,
const priority_data< _Type > &  priority_functor,
vertex controlling_vertex,
unsigned int &  b_tag,
bool found 
)
inline

Return the vertex with the highest priority.

Precondition: empty() is false.

Parameters
curren_black_listis the black list, that is the set of queues not usable.
priority_functoris the priority functor.
controlling_vertexfilled with the controlling vertex in case found is true.
b_tagfilled with the branch tag when found is true.
foundis 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().

Here is the call graph for this function:

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

Generated on Mon Feb 12 2024 13:04:08 for PandA-2024.02 by doxygen 1.8.13