Changeset 855:65a0521e744e in lemon-main for lemon/binomial_heap.h
- Timestamp:
- 09/29/09 13:32:01 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
lemon/binomial_heap.h
r707 r855 17 17 */ 18 18 19 #ifndef LEMON_BINOM _HEAP_H20 #define LEMON_BINOM _HEAP_H19 #ifndef LEMON_BINOMIAL_HEAP_H 20 #define LEMON_BINOMIAL_HEAP_H 21 21 22 22 ///\file … … 54 54 template <typename PR, typename IM, typename CMP = std::less<PR> > 55 55 #endif 56 class Binom Heap {56 class BinomialHeap { 57 57 public: 58 58 /// Type of the item-int map. … … 95 95 /// It is used internally to handle the cross references. 96 96 /// The assigned value must be \c PRE_HEAP (<tt>-1</tt>) for each item. 97 explicit Binom Heap(ItemIntMap &map)97 explicit BinomialHeap(ItemIntMap &map) 98 98 : _min(0), _head(-1), _iim(map), _num_items(0) {} 99 99 … … 105 105 /// The assigned value must be \c PRE_HEAP (<tt>-1</tt>) for each item. 106 106 /// \param comp The function object used for comparing the priorities. 107 Binom Heap(ItemIntMap &map, const Compare &comp)107 BinomialHeap(ItemIntMap &map, const Compare &comp) 108 108 : _min(0), _head(-1), _iim(map), _comp(comp), _num_items(0) {} 109 109 … … 425 425 426 426 class Store { 427 friend class Binom Heap;427 friend class BinomialHeap; 428 428 429 429 Item name; … … 442 442 } //namespace lemon 443 443 444 #endif //LEMON_BINOM _HEAP_H445 444 #endif //LEMON_BINOMIAL_HEAP_H 445
Note: See TracChangeset
for help on using the changeset viewer.