Searched defs:HUPScoringParams (Results 1 – 1 of 1) sorted by relevance
22 struct HUPScoringParams { struct29 typedef std::pair<double, int> CountMaxRelevance;37 int relevance_cap() const { return relevance_cap_; } in relevance_cap()38 void set_relevance_cap(int relevance_cap) { in set_relevance_cap()42 int half_life_days() const { return half_life_days_; } in half_life_days()43 void set_half_life_days(int half_life_days) { in set_half_life_days()47 std::vector<CountMaxRelevance>& buckets() { return buckets_; } in buckets()48 const std::vector<CountMaxRelevance>& buckets() const { return buckets_; } in buckets()75 HUPScoringParams() : experimental_scoring_enabled(false) {} in HUPScoringParams() argument77 bool experimental_scoring_enabled;[all …]