aether::container::max_heap< I, P > Class Template Reference

#include <max_heap.hh>

Public Member Functions

 max_heap ()=default
 
void push (const item_type &item, const priority_type &priority)
 
aether::optional< std::pair< const item_type &, const priority_type & > > peek () const
 
bool contains (const item_type &item) const
 
bool empty () const
 
size_t size () const
 
void pop ()
 
void clear ()
 

Constructor & Destructor Documentation

template<typename I, typename P>
aether::container::max_heap< I, P >::max_heap ( )
default

Member Function Documentation

template<typename I, typename P>
void aether::container::max_heap< I, P >::clear ( )
inline
template<typename I, typename P>
bool aether::container::max_heap< I, P >::contains ( const item_type &  item) const
inline
template<typename I, typename P>
bool aether::container::max_heap< I, P >::empty ( ) const
inline
template<typename I, typename P>
aether::optional<std::pair<const item_type&, const priority_type&> > aether::container::max_heap< I, P >::peek ( ) const
inline
template<typename I, typename P>
void aether::container::max_heap< I, P >::pop ( )
inline
template<typename I, typename P>
void aether::container::max_heap< I, P >::push ( const item_type &  item,
const priority_type &  priority 
)
inline
template<typename I, typename P>
size_t aether::container::max_heap< I, P >::size ( ) const
inline