| 59 | } |
| 60 | |
| 61 | void FuzzyStringComparator::setAcceptableRelative(const double rhs) |
| 62 | { |
| 63 | this->ratio_max_allowed_ = rhs; |
| 64 | if (ratio_max_allowed_ < 1.0) |
| 65 | { |
| 66 | ratio_max_allowed_ = 1 / ratio_max_allowed_; |
| 67 | } |
| 68 | |
| 69 | } |
| 70 | |
| 71 | const double& FuzzyStringComparator::getAcceptableAbsolute() const |
| 72 | { |
no outgoing calls