| ... | ... |
@@ -90,3 +90,7 @@ |
| 90 | 90 |
/// \c PRE_HEAP (<tt>-1</tt>) for each item. |
| 91 |
#ifdef DOXYGEN |
|
| 91 | 92 |
explicit Heap(ItemIntMap &map) {}
|
| 93 |
#else |
|
| 94 |
explicit Heap(ItemIntMap&) {}
|
|
| 95 |
#endif |
|
| 92 | 96 |
|
| ... | ... |
@@ -100,3 +104,7 @@ |
| 100 | 104 |
/// \param comp The function object used for comparing the priorities. |
| 105 |
#ifdef DOXYGEN |
|
| 101 | 106 |
explicit Heap(ItemIntMap &map, const CMP &comp) {}
|
| 107 |
#else |
|
| 108 |
explicit Heap(ItemIntMap&, const CMP&) {}
|
|
| 109 |
#endif |
|
| 102 | 110 |
|
| ... | ... |
@@ -128,3 +136,7 @@ |
| 128 | 136 |
/// \pre \e i must not be stored in the heap. |
| 137 |
#ifdef DOXYGEN |
|
| 129 | 138 |
void push(const Item &i, const Prio &p) {}
|
| 139 |
#else |
|
| 140 |
void push(const Item&, const Prio&) {}
|
|
| 141 |
#endif |
|
| 130 | 142 |
|
| ... | ... |
@@ -134,3 +146,3 @@ |
| 134 | 146 |
/// \pre The heap must be non-empty. |
| 135 |
Item top() const {}
|
|
| 147 |
Item top() const { return Item(); }
|
|
| 136 | 148 |
|
| ... | ... |
@@ -140,3 +152,3 @@ |
| 140 | 152 |
/// \pre The heap must be non-empty. |
| 141 |
Prio prio() const {}
|
|
| 153 |
Prio prio() const { return Prio(); }
|
|
| 142 | 154 |
|
| ... | ... |
@@ -154,3 +166,7 @@ |
| 154 | 166 |
/// \pre \e i must be in the heap. |
| 167 |
#ifdef DOXYGEN |
|
| 155 | 168 |
void erase(const Item &i) {}
|
| 169 |
#else |
|
| 170 |
void erase(const Item&) {}
|
|
| 171 |
#endif |
|
| 156 | 172 |
|
| ... | ... |
@@ -161,3 +177,7 @@ |
| 161 | 177 |
/// \pre \e i must be in the heap. |
| 178 |
#ifdef DOXYGEN |
|
| 162 | 179 |
Prio operator[](const Item &i) const {}
|
| 180 |
#else |
|
| 181 |
Prio operator[](const Item&) const { return Prio(); }
|
|
| 182 |
#endif |
|
| 163 | 183 |
|
| ... | ... |
@@ -172,3 +192,7 @@ |
| 172 | 192 |
/// \param p The priority. |
| 193 |
#ifdef DOXYGEN |
|
| 173 | 194 |
void set(const Item &i, const Prio &p) {}
|
| 195 |
#else |
|
| 196 |
void set(const Item&, const Prio&) {}
|
|
| 197 |
#endif |
|
| 174 | 198 |
|
| ... | ... |
@@ -180,3 +204,7 @@ |
| 180 | 204 |
/// \pre \e i must be stored in the heap with priority at least \e p. |
| 205 |
#ifdef DOXYGEN |
|
| 181 | 206 |
void decrease(const Item &i, const Prio &p) {}
|
| 207 |
#else |
|
| 208 |
void decrease(const Item&, const Prio&) {}
|
|
| 209 |
#endif |
|
| 182 | 210 |
|
| ... | ... |
@@ -188,3 +216,7 @@ |
| 188 | 216 |
/// \pre \e i must be stored in the heap with priority at most \e p. |
| 217 |
#ifdef DOXYGEN |
|
| 189 | 218 |
void increase(const Item &i, const Prio &p) {}
|
| 219 |
#else |
|
| 220 |
void increase(const Item&, const Prio&) {}
|
|
| 221 |
#endif |
|
| 190 | 222 |
|
| ... | ... |
@@ -198,3 +230,7 @@ |
| 198 | 230 |
/// \param i The item. |
| 231 |
#ifdef DOXYGEN |
|
| 199 | 232 |
State state(const Item &i) const {}
|
| 233 |
#else |
|
| 234 |
State state(const Item&) const { return PRE_HEAP; }
|
|
| 235 |
#endif |
|
| 200 | 236 |
|
| ... | ... |
@@ -207,3 +243,7 @@ |
| 207 | 243 |
/// \param st The state. It should not be \c IN_HEAP. |
| 244 |
#ifdef DOXYGEN |
|
| 208 | 245 |
void state(const Item& i, State st) {}
|
| 246 |
#else |
|
| 247 |
void state(const Item&, State) {}
|
|
| 248 |
#endif |
|
| 209 | 249 |
|
0 comments (0 inline)