Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::relaxed_heap< IndexedType, Compare, ID > Class Template Reference

#include <relaxed_heap.hpp>

Inheritance diagram for boost::relaxed_heap< IndexedType, Compare, ID >:

Public Types

typedef IndexedType value_type
 
typedef rank_type size_type
 

Public Member Functions

 relaxed_heap (size_type n, const Compare &compare=Compare(), const ID &id=ID())
 
 ~relaxed_heap ()
 
void push (const value_type &x)
 
void update (const value_type &x)
 
void remove (const value_type &x)
 
value_typetop ()
 
const value_typetop () const
 
bool empty () const
 
bool contains (const value_type &x) const
 
void pop ()
 

Member Typedef Documentation

template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
typedef rank_type boost::relaxed_heap< IndexedType, Compare, ID >::size_type
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
typedef IndexedType boost::relaxed_heap< IndexedType, Compare, ID >::value_type

Constructor & Destructor Documentation

template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
boost::relaxed_heap< IndexedType, Compare, ID >::relaxed_heap ( size_type  n,
const Compare &  compare = Compare(),
const ID &  id = ID() 
)
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
boost::relaxed_heap< IndexedType, Compare, ID >::~relaxed_heap ( )
inline

Member Function Documentation

template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
bool boost::relaxed_heap< IndexedType, Compare, ID >::contains ( const value_type x) const
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
bool boost::relaxed_heap< IndexedType, Compare, ID >::empty ( void  ) const
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
void boost::relaxed_heap< IndexedType, Compare, ID >::pop ( void  )
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
void boost::relaxed_heap< IndexedType, Compare, ID >::push ( const value_type x)
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
void boost::relaxed_heap< IndexedType, Compare, ID >::remove ( const value_type x)
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
value_type& boost::relaxed_heap< IndexedType, Compare, ID >::top ( void  )
inline
template<typename IndexedType, typename Compare = std::less<IndexedType>, typename ID = identity_property_map>
const value_type& boost::relaxed_heap< IndexedType, Compare, ID >::top ( void  ) const
inline

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