Changeset 2547:f393a8162688 in lemon-0.x for lemon/concepts
- Timestamp:
- 12/27/07 14:40:16 (16 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3424
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concepts/heap.h
r2391 r2547 53 53 /// The ItemIntMap _should_ be initialized in such way, that it maps 54 54 /// PRE_HEAP (-1) to any element to be put in the heap... 55 enum state_enum{55 enum State { 56 56 IN_HEAP = 0, 57 57 PRE_HEAP = -1, … … 156 156 /// get back to the heap again. 157 157 /// \param i The item. 158 state_enumstate(const Item &i) const {}158 State state(const Item &i) const {} 159 159 160 160 /// \brief Sets the state of the \c item in the heap. … … 165 165 /// \param i The item. 166 166 /// \param st The state. It should not be \c IN_HEAP. 167 void state(const Item& i, state_enumst) {}167 void state(const Item& i, State st) {} 168 168 169 169 … … 182 182 ignore_unused_variable_warning(prio); 183 183 184 typedef typename _Heap:: state_enum state_enum;185 state_enumstate;184 typedef typename _Heap::State State; 185 State state; 186 186 187 187 ignore_unused_variable_warning(state);
Note: See TracChangeset
for help on using the changeset viewer.