|
STLdoc
STLdocumentation
|
Base class for binomial heap. More...
#include <ext/pb_ds/detail/binomial_heap_base_/binomial_heap_base_.hpp>
Public Types | |
| typedef Value_Type | value_type |
| typedef Cmp_Fn | cmp_fn |
| typedef _Alloc | allocator_type |
| typedef _Alloc::size_type | size_type |
| typedef _Alloc::difference_type | difference_type |
| typedef __rebind_v::pointer | pointer |
| typedef __rebind_v::const_pointer | const_pointer |
| typedef __rebind_v::reference | reference |
| typedef __rebind_v::const_reference | const_reference |
| typedef base_type::point_const_iterator | point_const_iterator |
| typedef base_type::point_iterator | point_iterator |
| typedef base_type::const_iterator | const_iterator |
| typedef base_type::iterator | iterator |
Public Member Functions | |
| point_iterator | push (const_reference) |
| void | modify (point_iterator, const_reference) |
| const_reference | top () const |
| void | pop () |
| void | erase (point_iterator) |
| void | clear () |
| template<typename Pred > | |
| size_type | erase_if (Pred) |
| template<typename Pred > | |
| void | split (Pred, PB_DS_CLASS_C_DEC &) |
| void | join (PB_DS_CLASS_C_DEC &) |
Protected Types | |
| typedef base_type::node | node |
| typedef base_type::node_pointer | node_pointer |
| typedef base_type::node_const_pointer | node_const_pointer |
Protected Member Functions | |
| binomial_heap_base () | |
| binomial_heap_base (const Cmp_Fn &) | |
| binomial_heap_base (const PB_DS_CLASS_C_DEC &) | |
| void | swap (PB_DS_CLASS_C_DEC &) |
| ~binomial_heap_base () | |
| template<typename It > | |
| void | copy_from_range (It, It) |
| void | find_max () |
Protected Attributes | |
| node_pointer | m_p_max |
Private Types | |
| typedef _Alloc::template rebind< Value_Type >::other | __rebind_v |
| typedef PB_DS_B_HEAP_BASE | base_type |
Private Member Functions | |
| node_pointer | fix (node_pointer) const |
| void | insert_node (node_pointer) |
| void | remove_parentless_node (node_pointer) |
| node_pointer | join (node_pointer, node_pointer) const |
Base class for binomial heap.
|
private |
| typedef _Alloc __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::allocator_type |
|
private |
| typedef Cmp_Fn __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::cmp_fn |
| typedef base_type::const_iterator __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::const_iterator |
| typedef __rebind_v::const_pointer __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::const_pointer |
| typedef __rebind_v::const_reference __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::const_reference |
| typedef _Alloc::difference_type __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::difference_type |
| typedef base_type::iterator __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::iterator |
|
protected |
|
protected |
|
protected |
| typedef base_type::point_const_iterator __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::point_const_iterator |
| typedef base_type::point_iterator __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::point_iterator |
| typedef __rebind_v::pointer __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::pointer |
| typedef __rebind_v::reference __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::reference |
| typedef _Alloc::size_type __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::size_type |
| typedef Value_Type __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::value_type |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
protected |
| void __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::erase | ( | point_iterator | ) |
| size_type __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::erase_if | ( | Pred | ) |
|
inlineprotected |
|
inlineprivate |
|
inlineprivate |
| void __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::join | ( | PB_DS_CLASS_C_DEC & | ) |
|
inlineprivate |
| void __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::modify | ( | point_iterator | , |
| const_reference | |||
| ) |
| void __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::pop | ( | ) |
|
inline |
|
inlineprivate |
| void __gnu_pbds::detail::binomial_heap_base< Value_Type, Cmp_Fn, _Alloc >::split | ( | Pred | , |
| PB_DS_CLASS_C_DEC & | |||
| ) |
|
protected |
|
inline |
|
protected |
1.8.6