0
4
0
| ... | ... |
@@ -282,6 +282,24 @@ |
| 282 | 282 |
return *this; |
| 283 | 283 |
} |
| 284 | 284 |
|
| 285 |
/// \brief Set the tolerance used by the algorithm. |
|
| 286 |
/// |
|
| 287 |
/// This function sets the tolerance object used by the algorithm. |
|
| 288 |
/// |
|
| 289 |
/// \return <tt>(*this)</tt> |
|
| 290 |
HartmannOrlin& tolerance(const Tolerance& tolerance) {
|
|
| 291 |
_tolerance = tolerance; |
|
| 292 |
return *this; |
|
| 293 |
} |
|
| 294 |
|
|
| 295 |
/// \brief Return a const reference to the tolerance. |
|
| 296 |
/// |
|
| 297 |
/// This function returns a const reference to the tolerance object |
|
| 298 |
/// used by the algorithm. |
|
| 299 |
const Tolerance& tolerance() const {
|
|
| 300 |
return _tolerance; |
|
| 301 |
} |
|
| 302 |
|
|
| 285 | 303 |
/// \name Execution control |
| 286 | 304 |
/// The simplest way to execute the algorithm is to call the \ref run() |
| 287 | 305 |
/// function.\n |
| ... | ... |
@@ -273,6 +273,24 @@ |
| 273 | 273 |
return *this; |
| 274 | 274 |
} |
| 275 | 275 |
|
| 276 |
/// \brief Set the tolerance used by the algorithm. |
|
| 277 |
/// |
|
| 278 |
/// This function sets the tolerance object used by the algorithm. |
|
| 279 |
/// |
|
| 280 |
/// \return <tt>(*this)</tt> |
|
| 281 |
Howard& tolerance(const Tolerance& tolerance) {
|
|
| 282 |
_tolerance = tolerance; |
|
| 283 |
return *this; |
|
| 284 |
} |
|
| 285 |
|
|
| 286 |
/// \brief Return a const reference to the tolerance. |
|
| 287 |
/// |
|
| 288 |
/// This function returns a const reference to the tolerance object |
|
| 289 |
/// used by the algorithm. |
|
| 290 |
const Tolerance& tolerance() const {
|
|
| 291 |
return _tolerance; |
|
| 292 |
} |
|
| 293 |
|
|
| 276 | 294 |
/// \name Execution control |
| 277 | 295 |
/// The simplest way to execute the algorithm is to call the \ref run() |
| 278 | 296 |
/// function.\n |
| ... | ... |
@@ -278,6 +278,24 @@ |
| 278 | 278 |
return *this; |
| 279 | 279 |
} |
| 280 | 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; |
|
| 297 |
} |
|
| 298 |
|
|
| 281 | 299 |
/// \name Execution control |
| 282 | 300 |
/// The simplest way to execute the algorithm is to call the \ref run() |
| 283 | 301 |
/// function.\n |
0 comments (0 inline)