Changeset 203:215bfc30b14f in lemon1.0 for lemon/concepts/heap.h
 Timestamp:
 07/11/08 15:01:49 (13 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/concepts/heap.h
r113 r203 182 182 Item item; 183 183 Prio prio; 184 State state;185 184 item=Item(); 186 185 prio=Prio(); 187 186 ignore_unused_variable_warning(item); 188 187 ignore_unused_variable_warning(prio); 189 ignore_unused_variable_warning(state);190 188 191 189 OwnItem own_item; … … 204 202 205 203 int s = heap.size(); 204 ignore_unused_variable_warning(s); 206 205 bool e = heap.empty(); 206 ignore_unused_variable_warning(e); 207 207 208 208 prio = heap.prio(); … … 228 228 heap.clear(); 229 229 230 state = heap.state(item); 231 heap.state(item, state); 232 state = heap.state(own_item); 230 own_state = heap.state(own_item); 233 231 heap.state(own_item, own_state); 234 232 235 state = _Heap::PRE_HEAP;236 state = _Heap::IN_HEAP;237 state = _Heap::POST_HEAP;238 233 own_state = _Heap::PRE_HEAP; 239 234 own_state = _Heap::IN_HEAP;
Note: See TracChangeset
for help on using the changeset viewer.