X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=doc%2Fhtml%2Fboost%2Fheap%2Fpairing_heap.html;h=a76aca74a0ca1afc20854354d0aaf7ce1ee3d286;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=7d9c48c7b3908a5855ab30d4cb28d3a79454058c;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/doc/html/boost/heap/pairing_heap.html b/doc/html/boost/heap/pairing_heap.html index 7d9c48c..a76aca7 100644 --- a/doc/html/boost/heap/pairing_heap.html +++ b/doc/html/boost/heap/pairing_heap.html @@ -3,7 +3,7 @@ Class template pairing_heap - + @@ -50,46 +50,46 @@ typedef implementation_defined::handle_type handle_type; // construct/copy/destruct - explicit pairing_heap(value_compare const & = value_compare()); - pairing_heap(pairing_heap const &); - pairing_heap(pairing_heap &&); - pairing_heap& operator=(pairing_heap &&); - pairing_heap& operator=(pairing_heap const &); - ~pairing_heap(void); + explicit pairing_heap(value_compare const & = value_compare()); + pairing_heap(pairing_heap const &); + pairing_heap(pairing_heap &&); + pairing_heap & operator=(pairing_heap &&); + pairing_heap & operator=(pairing_heap const &); + ~pairing_heap(void); - // public member functions - bool empty(void) const; - size_type size(void) const; - size_type max_size(void) const; - void clear(void); - allocator_type get_allocator(void) const; - void swap(pairing_heap &); - const_reference top(void) const; - handle_type push(value_type const &); - template<class... Args> handle_type emplace(Args &&...); - void pop(void); - void update(handle_type, const_reference); - void update(handle_type); - void increase(handle_type, const_reference); - void increase(handle_type); - void decrease(handle_type, const_reference); - void decrease(handle_type); - void erase(handle_type); - iterator begin(void) const; - iterator end(void) const; - ordered_iterator ordered_begin(void) const; - ordered_iterator ordered_end(void) const; - void merge(pairing_heap &); - value_compare const & value_comp(void) const; - template<typename HeapType> bool operator<(HeapType const &) const; - template<typename HeapType> bool operator>(HeapType const &) const; - template<typename HeapType> bool operator>=(HeapType const &) const; - template<typename HeapType> bool operator<=(HeapType const &) const; - template<typename HeapType> bool operator==(HeapType const &) const; - template<typename HeapType> bool operator!=(HeapType const &) const; + // public member functions + bool empty(void) const; + size_type size(void) const; + size_type max_size(void) const; + void clear(void); + allocator_type get_allocator(void) const; + void swap(pairing_heap &); + const_reference top(void) const; + handle_type push(value_type const &); + template<class... Args> handle_type emplace(Args &&...); + void pop(void); + void update(handle_type, const_reference); + void update(handle_type); + void increase(handle_type, const_reference); + void increase(handle_type); + void decrease(handle_type, const_reference); + void decrease(handle_type); + void erase(handle_type); + iterator begin(void) const; + iterator end(void) const; + ordered_iterator ordered_begin(void) const; + ordered_iterator ordered_end(void) const; + void merge(pairing_heap &); + value_compare const & value_comp(void) const; + template<typename HeapType> bool operator<(HeapType const &) const; + template<typename HeapType> bool operator>(HeapType const &) const; + template<typename HeapType> bool operator>=(HeapType const &) const; + template<typename HeapType> bool operator<=(HeapType const &) const; + template<typename HeapType> bool operator==(HeapType const &) const; + template<typename HeapType> bool operator!=(HeapType const &) const; - // public static functions - static handle_type s_handle_from_iterator(iterator const &); + // public static functions + static handle_type s_handle_from_iterator(iterator const &); // public data members static const bool constant_time_size; @@ -99,12 +99,12 @@ static const bool has_reserve; };
-

Description

+

Description

Pairing heaps are self-adjusting binary heaps. Although design and implementation are rather simple, the complexity analysis is yet unsolved. For details, consult:

-

Pettie, Seth (2005), "Towards a final analysis of pairing heaps", Proc. 46th Annual IEEE Symposium on Foundations of Computer Science, pp. 174–183

+

Pettie, Seth (2005), "Towards a final analysis of pairing heaps", Proc. 46th Annual IEEE Symposium on Foundations of Computer Science, pp. 174-183

The template parameter T is the type to be managed by the container. The user can specify additional options and if no options are provided default options are used.

The container supports the following options:

-