blob: 34c528bf932c647c245dc453d3cb10e702b36112 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "peridot/bin/suggestion_engine/ranking_features/proposal_hint_ranking_feature.h"
namespace modular {
ProposalHintRankingFeature::ProposalHintRankingFeature() = default;
ProposalHintRankingFeature::~ProposalHintRankingFeature() = default;
double ProposalHintRankingFeature::ComputeFeatureInternal(
const fuchsia::modular::UserInput& query,
const RankedSuggestion& suggestion) {
return suggestion.prototype->proposal.confidence;
}
} // namespace modular