blob: 3dbe5144c1c16341d56d788087185f0158be6103 [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.
#ifndef PERIDOT_BIN_SUGGESTION_ENGINE_RANKING_FEATURES_PROPOSAL_HINT_RANKING_FEATURE_H_
#define PERIDOT_BIN_SUGGESTION_ENGINE_RANKING_FEATURES_PROPOSAL_HINT_RANKING_FEATURE_H_
#include <fuchsia/modular/cpp/fidl.h>
#include "peridot/bin/suggestion_engine/ranking_features/ranking_feature.h"
namespace modular {
class ProposalHintRankingFeature : public RankingFeature {
public:
ProposalHintRankingFeature();
~ProposalHintRankingFeature() override;
private:
double ComputeFeatureInternal(const fuchsia::modular::UserInput& query,
const RankedSuggestion& suggestion) override;
};
} // namespace modular
#endif // PERIDOT_BIN_SUGGESTION_ENGINE_RANKING_FEATURES_PROPOSAL_HINT_RANKING_FEATURE_H_