.TH "__gnu_pbds::detail::thin_heap< Value_Type, Cmp_Fn, _Alloc >" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::detail::thin_heap< Value_Type, Cmp_Fn, _Alloc > .SH SYNOPSIS .br .PP .PP Inherits \fB__gnu_pbds::detail::left_child_next_sibling_heap< Value_Type, Cmp_Fn, _Alloc::size_type, _Alloc >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef _Alloc \fBallocator_type\fP" .br .ti -1c .RI "typedef Cmp_Fn \fBcmp_fn\fP" .br .ti -1c .RI "typedef \fBbase_type::const_iterator\fP \fBconst_iterator\fP" .br .ti -1c .RI "typedef __rebind_a::const_pointer \fBconst_pointer\fP" .br .ti -1c .RI "typedef __rebind_a::const_reference \fBconst_reference\fP" .br .ti -1c .RI "typedef _Alloc::difference_type \fBdifference_type\fP" .br .ti -1c .RI "typedef \fBbase_type::iterator\fP \fBiterator\fP" .br .ti -1c .RI "typedef \fBbase_type::point_const_iterator\fP \fBpoint_const_iterator\fP" .br .ti -1c .RI "typedef \fBbase_type::point_iterator\fP \fBpoint_iterator\fP" .br .ti -1c .RI "typedef __rebind_a::pointer \fBpointer\fP" .br .ti -1c .RI "typedef __rebind_a::reference \fBreference\fP" .br .ti -1c .RI "typedef _Alloc::size_type \fBsize_type\fP" .br .ti -1c .RI "typedef Value_Type \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBiterator\fP \fBbegin\fP ()" .br .ti -1c .RI "\fBconst_iterator\fP \fBbegin\fP () const" .br .ti -1c .RI "void \fBclear\fP ()" .br .ti -1c .RI "bool \fBempty\fP () const" .br .ti -1c .RI "\fBiterator\fP \fBend\fP ()" .br .ti -1c .RI "\fBconst_iterator\fP \fBend\fP () const" .br .ti -1c .RI "void \fBerase\fP (\fBpoint_iterator\fP)" .br .ti -1c .RI "template size_type \fBerase_if\fP (Pred)" .br .ti -1c .RI "Cmp_Fn & \fBget_cmp_fn\fP ()" .br .ti -1c .RI "const Cmp_Fn & \fBget_cmp_fn\fP () const" .br .ti -1c .RI "void \fBjoin\fP (\fBthin_heap\fP< Value_Type, Cmp_Fn, _Alloc > &)" .br .ti -1c .RI "size_type \fBmax_size\fP () const" .br .ti -1c .RI "void \fBmodify\fP (\fBpoint_iterator\fP, const_reference)" .br .ti -1c .RI "void \fBpop\fP ()" .br .ti -1c .RI "\fBpoint_iterator\fP \fBpush\fP (const_reference)" .br .ti -1c .RI "size_type \fBsize\fP () const" .br .ti -1c .RI "template void \fBsplit\fP (Pred, \fBthin_heap\fP< Value_Type, Cmp_Fn, _Alloc > &)" .br .ti -1c .RI "void \fBswap\fP (\fBleft_child_next_sibling_heap\fP< Value_Type, Cmp_Fn, _Alloc::size_type, _Alloc > &)" .br .ti -1c .RI "const_reference \fBtop\fP () const" .br .in -1c .SS "Protected Types" .in +1c .ti -1c .RI "typedef \fBbase_type::node\fP \fBnode\fP" .br .ti -1c .RI "typedef alloc_traits::allocator_type \fBnode_allocator\fP" .br .ti -1c .RI "typedef base_type::node_const_pointer \fBnode_const_pointer\fP" .br .ti -1c .RI "typedef _Alloc::size_type \fBnode_metadata\fP" .br .ti -1c .RI "typedef base_type::node_pointer \fBnode_pointer\fP" .br .ti -1c .RI "typedef \fBstd::pair\fP< node_pointer, node_pointer > \fBnode_pointer_pair\fP" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBthin_heap\fP (const Cmp_Fn &)" .br .ti -1c .RI "\fBthin_heap\fP (const \fBthin_heap\fP< Value_Type, Cmp_Fn, _Alloc > &)" .br .ti -1c .RI "void \fBactual_erase_node\fP (node_pointer)" .br .ti -1c .RI "void \fBbubble_to_top\fP (node_pointer)" .br .ti -1c .RI "void \fBclear_imp\fP (node_pointer)" .br .ti -1c .RI "template void \fBcopy_from_range\fP (It, It)" .br .ti -1c .RI "node_pointer \fBget_new_node_for_insert\fP (const_reference)" .br .ti -1c .RI "node_pointer \fBprune\fP (Pred)" .br .ti -1c .RI "void \fBswap\fP (\fBthin_heap\fP< Value_Type, Cmp_Fn, _Alloc > &)" .br .ti -1c .RI "void \fBswap_with_parent\fP (node_pointer, node_pointer)" .br .ti -1c .RI "void \fBto_linked_list\fP ()" .br .ti -1c .RI "void \fBvalue_swap\fP (\fBleft_child_next_sibling_heap\fP &)" .br .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static node_pointer \fBparent\fP (node_pointer)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "node_pointer \fBm_p_root\fP" .br .ti -1c .RI "size_type \fBm_size\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_pbds::detail::thin_heap< Value_Type, Cmp_Fn, _Alloc >" Thin heap\&. .PP See Tarjan and Kaplan\&. .PP Definition at line 77 of file thin_heap_\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.