Searched refs:PerfectBonus (Results 1 – 1 of 1) sorted by relevance
74 static constexpr int PerfectBonus = 4; // Perfect per-pattern-char score. variable78 ScoreScale(PatN ? float{1} / (PerfectBonus * PatN) : 0), WordN(0) { in FuzzyMatcher()103 ScoreScale * std::min(PerfectBonus * PatN, std::max<int>(0, Best)); in match()304 assert(S <= PerfectBonus); in matchBonus()