Changeset 220:7deda4d6a07a in lemon-0.x for src/work/jacint/fib_heap.h
- Timestamp:
- 03/20/04 21:06:23 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/jacint/fib_heap.h
r217 r220 144 144 145 145 146 147 148 146 PrioType& operator[](const Item& it) { 149 147 return container[iimap[it]].prio; 150 148 } 149 151 150 152 151 const PrioType& operator[](const Item& it) const { … … 154 153 } 155 154 156 // const PrioType get(const Item& it) const { 157 // return container[iimap[it]].prio; 158 // } 159 155 156 const PrioType get(const Item& it) const { 157 return container[iimap[it]].prio; 158 } 159 160 160 void pop() { 161 161 /*The first case is that there are only one root.*/
Note: See TracChangeset
for help on using the changeset viewer.