.TH "__gnu_pbds::detail::thin_heap< Value_Type, Cmp_Fn, _Alloc >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::detail::thin_heap< Value_Type, Cmp_Fn, _Alloc > .SH SYNOPSIS .br .PP .PP \fC#include \fP .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 "_GLIBCXX_NODISCARD 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 base_type::node \fBnode\fP" .br .ti -1c .RI "typedef _Alloc::template rebind< \fBleft_child_next_sibling_heap_node_\fP< Value_Type, _Alloc::size_type, _Alloc > >::other \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 \fB77\fP of file \fBthin_heap_\&.hpp\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef _Alloc \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::allocator_type" .PP Definition at line \fB92\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef Cmp_Fn \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::cmp_fn" .PP Definition at line \fB91\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef \fBbase_type::const_iterator\fP \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::const_iterator" .PP Definition at line \fB104\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef __rebind_a::const_pointer \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::const_pointer" .PP Definition at line \fB97\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef __rebind_a::const_reference \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::const_reference" .PP Definition at line \fB99\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef _Alloc::difference_type \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::difference_type" .PP Definition at line \fB94\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef \fBbase_type::iterator\fP \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::iterator" .PP Definition at line \fB103\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef base_type::node \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::node\fC [protected]\fP" .PP Definition at line \fB85\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "typedef _Alloc::template rebind<\fBleft_child_next_sibling_heap_node_\fP>::other \fB__gnu_pbds::detail::left_child_next_sibling_heap\fP< Value_Type, Cmp_Fn, _Alloc::size_type , _Alloc >::node_allocator\fC [protected]\fP, \fC [inherited]\fP" .PP Definition at line \fB97\fP of file \fBleft_child_next_sibling_heap_\&.hpp\fP\&. .SS "template typedef base_type::node_const_pointer \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::node_const_pointer\fC [protected]\fP" .PP Definition at line \fB87\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "typedef _Alloc::size_type \fB__gnu_pbds::detail::left_child_next_sibling_heap\fP< Value_Type, Cmp_Fn, _Alloc::size_type , _Alloc >::node_metadata\fC [protected]\fP, \fC [inherited]\fP" .PP Definition at line \fB102\fP of file \fBleft_child_next_sibling_heap_\&.hpp\fP\&. .SS "template typedef base_type::node_pointer \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::node_pointer\fC [protected]\fP" .PP Definition at line \fB86\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "typedef \fBstd::pair\fP< node_pointer, node_pointer> \fB__gnu_pbds::detail::left_child_next_sibling_heap\fP< Value_Type, Cmp_Fn, _Alloc::size_type , _Alloc >::node_pointer_pair\fC [protected]\fP, \fC [inherited]\fP" .PP Definition at line \fB103\fP of file \fBleft_child_next_sibling_heap_\&.hpp\fP\&. .SS "template typedef \fBbase_type::point_const_iterator\fP \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::point_const_iterator" .PP Definition at line \fB102\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef \fBbase_type::point_iterator\fP \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::point_iterator" .PP Definition at line \fB101\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef __rebind_a::pointer \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::pointer" .PP Definition at line \fB96\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef __rebind_a::reference \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::reference" .PP Definition at line \fB98\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef _Alloc::size_type \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::size_type" .PP Definition at line \fB93\fP of file \fBthin_heap_\&.hpp\fP\&. .SS "template typedef Value_Type \fB__gnu_pbds::detail::thin_heap\fP< Value_Type, Cmp_Fn, _Alloc >::value_type" .PP Definition at line \fB90\fP of file \fBthin_heap_\&.hpp\fP\&. .SH "Member Data Documentation" .PP .SS "node_pointer \fB__gnu_pbds::detail::left_child_next_sibling_heap\fP< Value_Type, Cmp_Fn, _Alloc::size_type , _Alloc >::m_p_root\fC [protected]\fP, \fC [inherited]\fP" .PP Definition at line \fB267\fP of file \fBleft_child_next_sibling_heap_\&.hpp\fP\&. .SS "size_type \fB__gnu_pbds::detail::left_child_next_sibling_heap\fP< Value_Type, Cmp_Fn, _Alloc::size_type , _Alloc >::m_size\fC [protected]\fP, \fC [inherited]\fP" .PP Definition at line \fB268\fP of file \fBleft_child_next_sibling_heap_\&.hpp\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.