blob: 77ea8edcdd0b3e8d9eaeb823193d6979ee5bf470 [file] [log] [blame]
// Copyright 2018 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_FILTERS_CONJUGATE_RANKED_PASSIVE_FILTER_H_
#define PERIDOT_BIN_SUGGESTION_ENGINE_FILTERS_CONJUGATE_RANKED_PASSIVE_FILTER_H_
#include <fuchsia/modular/cpp/fidl.h>
#include "peridot/bin/suggestion_engine/filters/suggestion_passive_filter.h"
#include "peridot/bin/suggestion_engine/ranking_features/ranking_feature.h"
namespace modular {
class ConjugateRankedPassiveFilter : public SuggestionPassiveFilter {
public:
ConjugateRankedPassiveFilter(std::shared_ptr<RankingFeature> ranking_feature);
~ConjugateRankedPassiveFilter() override;
bool Filter(
const std::unique_ptr<RankedSuggestion>& ranked_suggestion) override;
private:
std::shared_ptr<RankingFeature> ranking_feature_;
};
} // namespace modular
#endif // PERIDOT_BIN_SUGGESTION_ENGINE_FILTERS_CONJUGATE_RANKED_PASSIVE_FILTER_H_