equal
deleted
inserted
replaced
274 delete _cycle_path; |
274 delete _cycle_path; |
275 _local_path = false; |
275 _local_path = false; |
276 } |
276 } |
277 _cycle_path = &path; |
277 _cycle_path = &path; |
278 return *this; |
278 return *this; |
|
279 } |
|
280 |
|
281 /// \brief Set the tolerance used by the algorithm. |
|
282 /// |
|
283 /// This function sets the tolerance object used by the algorithm. |
|
284 /// |
|
285 /// \return <tt>(*this)</tt> |
|
286 Karp& tolerance(const Tolerance& tolerance) { |
|
287 _tolerance = tolerance; |
|
288 return *this; |
|
289 } |
|
290 |
|
291 /// \brief Return a const reference to the tolerance. |
|
292 /// |
|
293 /// This function returns a const reference to the tolerance object |
|
294 /// used by the algorithm. |
|
295 const Tolerance& tolerance() const { |
|
296 return _tolerance; |
279 } |
297 } |
280 |
298 |
281 /// \name Execution control |
299 /// \name Execution control |
282 /// The simplest way to execute the algorithm is to call the \ref run() |
300 /// The simplest way to execute the algorithm is to call the \ref run() |
283 /// function.\n |
301 /// function.\n |