HavoqGT
havoqgt::mpi::triangle_priority_queue< Visitor > Class Template Reference

#include <triangle_count.hpp>

Public Member Functions

 triangle_priority_queue ()
 
bool push (Visitor const &task)
 
void pop ()
 
Visitor const & top ()
 
size_t size () const
 
bool empty () const
 
void clear ()
 

Protected Attributes

std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data
 

Detailed Description

template<typename Visitor>
class havoqgt::mpi::triangle_priority_queue< Visitor >

Definition at line 63 of file triangle_count.hpp.

Constructor & Destructor Documentation

template<typename Visitor >
havoqgt::mpi::triangle_priority_queue< Visitor >::triangle_priority_queue ( )
inline

Definition at line 70 of file triangle_count.hpp.

70 { }

Member Function Documentation

template<typename Visitor >
void havoqgt::mpi::triangle_priority_queue< Visitor >::clear ( )
inline

Definition at line 98 of file triangle_count.hpp.

99  {
100  m_data.clear();
101  }
std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data
template<typename Visitor >
bool havoqgt::mpi::triangle_priority_queue< Visitor >::empty ( ) const
inline

Definition at line 93 of file triangle_count.hpp.

94  {
95  return m_data.empty();
96  }
std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data
template<typename Visitor >
void havoqgt::mpi::triangle_priority_queue< Visitor >::pop ( )
inline

Definition at line 78 of file triangle_count.hpp.

79  {
80  m_data.pop();
81  }
std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data
template<typename Visitor >
bool havoqgt::mpi::triangle_priority_queue< Visitor >::push ( Visitor const &  task)
inline

Definition at line 72 of file triangle_count.hpp.

73  {
74  m_data.push(task);
75  return true;
76  }
std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data
template<typename Visitor >
size_t havoqgt::mpi::triangle_priority_queue< Visitor >::size ( ) const
inline

Definition at line 88 of file triangle_count.hpp.

89  {
90  return m_data.size();;
91  }
std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data
template<typename Visitor >
Visitor const& havoqgt::mpi::triangle_priority_queue< Visitor >::top ( )
inline

Definition at line 83 of file triangle_count.hpp.

84  {
85  return m_data.top();
86  }
std::priority_queue< Visitor, std::deque< Visitor >, std::greater< Visitor > > m_data

Member Data Documentation

template<typename Visitor >
std::priority_queue< Visitor, std::deque<Visitor>, std::greater<Visitor> > havoqgt::mpi::triangle_priority_queue< Visitor >::m_data
protected

Definition at line 68 of file triangle_count.hpp.


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