Changeset 1717:75fe24093ded in lemon-0.x for lemon/concept/heap.h
- Timestamp:
- 10/14/05 12:40:00 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2244
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concept/heap.h
r1494 r1717 62 62 explicit Heap(ItemIntMap &_iim) {} 63 63 64 /// The number of items stored in the heap.65 /// 66 /// \briefReturns the number of items stored in the heap.64 /// \brief The number of items stored in the heap. 65 /// 66 /// Returns the number of items stored in the heap. 67 67 int size() const { return 0; } 68 68 69 /// \brief Checks if the heap stores no items. 69 70 /// 70 71 /// Returns \c true if and only if the heap stores no items. 71 72 bool empty() const { return false; } 73 74 /// \brief Makes empty this heap. 75 /// 76 /// Makes this heap empty. 77 void clear(); 72 78 73 79 /// \brief Insert an item into the heap with the given heap. … … 190 196 state = _Heap::IN_HEAP; 191 197 state = _Heap::POST_HEAP; 198 199 heap.clear(); 192 200 } 193 201
Note: See TracChangeset
for help on using the changeset viewer.