| ... | ... |
@@ -21,3 +21,2 @@ |
| 21 | 21 |
|
| 22 |
#include <lemon/error.h> |
|
| 23 | 22 |
#include <lemon/tolerance.h> |
| ... | ... |
@@ -134,13 +133,2 @@ |
| 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: |
| ... | ... |
@@ -210,3 +198,4 @@ |
| 210 | 198 |
static FlowMap *createFlowMap(const Digraph&) {
|
| 211 |
|
|
| 199 |
LEMON_ASSERT(false, "FlowMap is not initialized"); |
|
| 200 |
return 0; // ignore warnings |
|
| 212 | 201 |
} |
| ... | ... |
@@ -230,3 +219,4 @@ |
| 230 | 219 |
static Elevator *createElevator(const Digraph&, int) {
|
| 231 |
|
|
| 220 |
LEMON_ASSERT(false, "Elevator is not initialized"); |
|
| 221 |
return 0; // ignore warnings |
|
| 232 | 222 |
} |
0 comments (0 inline)