Changeset 1125:377e240b050f in lemon0.x for src
 Timestamp:
 02/05/05 21:05:01 (15 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1524
 Location:
 src
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

src/lemon/error.h
r1122 r1125 127 127 * program runs (e.g., violations of class invariants). 128 128 * 129 * For a typical example \see UninitializedParameterError.129 * A typical example for this is \ref UninitializedParameter. 130 130 */ 131 131 class LogicError : public Exception { … … 133 133 virtual const char* exceptionName() const { 134 134 return "lemon::LogicError"; 135 } 136 }; 137 138 /** 139 * \brief \ref Exception for uninitialized parameters. 140 * 141 * This error represents problems in the initialization 142 * of the parameters of the algorithms. 143 */ 144 class UninitializedParameter : public LogicError { 145 public: 146 virtual const char* exceptionName() const { 147 return "lemon::UninitializedParameter"; 135 148 } 136 149 }; 
src/work/alpar/dijkstra.h
r1124 r1125 31 31 32 32 33 class UninitializedData : public LogicError {};34 35 36 33 /// \addtogroup flowalgs 37 34 /// @{ … … 91 88 typedef typename Graph::template NodeMap<typename GR::Node> PredNodeMap; 92 89 ///Instantiates a PredNodeMap. 93 90 94 91 ///This function instantiates a \ref PredNodeMap. 95 92 ///\param G is the graph, to which we would like to define the \ref PredNodeMap … … 132 129 133 130 ///%Dijkstra algorithm class. 134 131 135 132 ///This class provides an efficient implementation of %Dijkstra algorithm. 136 133 ///The edge lengths are passed to the algorithm using a … … 175 172 class Dijkstra { 176 173 public: 177 ///Exception thrown by dijkstra. 178 class UninitializedData : public lemon::UninitializedData {}; 174 /** 175 * \brief \ref Exception for uninitialized parameters. 176 * 177 * This error represents problems in the initialization 178 * of the parameters of the algorithms. 179 */ 180 class UninitializedParameter : public lemon::UninitializedParameter { 181 public: 182 virtual const char* exceptionName() const { 183 return "lemon::Dijsktra::UninitializedParameter"; 184 } 185 }; 179 186 180 187 typedef TR Traits;
Note: See TracChangeset
for help on using the changeset viewer.