| 79 | } |
| 80 | |
| 81 | void set_lambda ( |
| 82 | scalar_type lambda_ |
| 83 | ) |
| 84 | { |
| 85 | // make sure requires clause is not broken |
| 86 | DLIB_ASSERT(lambda_ >= 0, |
| 87 | "\t void rr_trainer::set_lambda()" |
| 88 | << "\n\t lambda must be greater than or equal to 0" |
| 89 | << "\n\t lambda: " << lambda |
| 90 | << "\n\t this: " << this |
| 91 | ); |
| 92 | |
| 93 | lambda = lambda_; |
| 94 | } |
| 95 | |
| 96 | const scalar_type get_lambda ( |
| 97 | ) const |
nothing calls this directly
no outgoing calls
no test coverage detected