Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::pq_internal::Compare< T, C > Class Template Reference

Used to compare elements with assigned priorities. More...

#include <ogdf/basic/PriorityQueue.h>

Public Member Functions

 Compare (const C &compare=C())
 
 Compare (const Compare &other)
 
bool operator() (const T &x, const T &y) const
 

Private Attributes

m_compare
 

Detailed Description

template<typename T, typename C>
class ogdf::pq_internal::Compare< T, C >

Used to compare elements with assigned priorities.

Definition at line 236 of file PriorityQueue.h.

Constructor & Destructor Documentation

◆ Compare() [1/2]

template<typename T , typename C >
ogdf::pq_internal::Compare< T, C >::Compare ( const C &  compare = C())
inline

Definition at line 238 of file PriorityQueue.h.

◆ Compare() [2/2]

template<typename T , typename C >
ogdf::pq_internal::Compare< T, C >::Compare ( const Compare< T, C > &  other)
inline

Definition at line 240 of file PriorityQueue.h.

Member Function Documentation

◆ operator()()

template<typename T , typename C >
bool ogdf::pq_internal::Compare< T, C >::operator() ( const T &  x,
const T &  y 
) const
inline

Definition at line 242 of file PriorityQueue.h.

Member Data Documentation

◆ m_compare

template<typename T , typename C >
C ogdf::pq_internal::Compare< T, C >::m_compare
private

Definition at line 245 of file PriorityQueue.h.


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