| ... | ... |
@@ -20,5 +20,4 @@ |
| 20 | 20 |
#define LEMON_PREFLOW_H |
| 21 | 21 |
|
| 22 |
#include <lemon/error.h> |
|
| 23 | 22 |
#include <lemon/tolerance.h> |
| 24 | 23 |
#include <lemon/elevator.h> |
| ... | ... |
@@ -133,15 +132,4 @@ |
| 133 | 132 |
typedef typename Traits::Tolerance Tolerance; |
| 134 | 133 |
|
| 135 |
/// \brief \ref Exception for uninitialized parameters. |
|
| 136 |
/// |
|
| 137 |
/// This error represents problems in the initialization |
|
| 138 |
/// of the parameters of the algorithms. |
|
| 139 |
class UninitializedParameter : public lemon::Exception {
|
|
| 140 |
public: |
|
| 141 |
virtual const char* what() const throw() {
|
|
| 142 |
return "lemon::Preflow::UninitializedParameter"; |
|
| 143 |
} |
|
| 144 |
}; |
|
| 145 |
|
|
| 146 | 134 |
private: |
| 147 | 135 |
|
| ... | ... |
@@ -209,5 +197,6 @@ |
| 209 | 197 |
typedef _FlowMap FlowMap; |
| 210 | 198 |
static FlowMap *createFlowMap(const Digraph&) {
|
| 211 |
|
|
| 199 |
LEMON_ASSERT(false, "FlowMap is not initialized"); |
|
| 200 |
return 0; // ignore warnings |
|
| 212 | 201 |
} |
| 213 | 202 |
}; |
| ... | ... |
@@ -229,5 +218,6 @@ |
| 229 | 218 |
typedef _Elevator Elevator; |
| 230 | 219 |
static Elevator *createElevator(const Digraph&, int) {
|
| 231 |
|
|
| 220 |
LEMON_ASSERT(false, "Elevator is not initialized"); |
|
| 221 |
return 0; // ignore warnings |
|
| 232 | 222 |
} |
| 233 | 223 |
}; |
0 comments (0 inline)