MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setAcceptableRelative

Method setAcceptableRelative

src/openms/source/CONCEPT/FuzzyStringComparator.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 7

main_Method · 0.80
testStringSimilarFunction · 0.80
isFileSimilarFunction · 0.80
START_SECTIONFunction · 0.80
START_SECTIONFunction · 0.80

Calls

no outgoing calls

Tested by 4

testStringSimilarFunction · 0.64
isFileSimilarFunction · 0.64
START_SECTIONFunction · 0.64
START_SECTIONFunction · 0.64