Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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 266 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 269 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 271 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 273 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 277 of file PriorityQueue.h.


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