#include "components/segmentation_platform/embedder/home_modules/card_selection_signals.h"
#include "base/check.h"
namespace segmentation_platform::home_modules {
float EphemeralHomeModuleRankToScore(EphemeralHomeModuleRank rank) { … }
AllCardSignals::AllCardSignals(CardSignalMap signal_map,
std::vector<float> signals)
: … { … }
AllCardSignals::~AllCardSignals() = default;
std::optional<float> AllCardSignals::GetSignal(
const CardName& card_name,
const SignalKey& signal_key) const { … }
CardSelectionSignals::CardSelectionSignals(const AllCardSignals* all_signals,
const CardName& card_name)
: … { … }
CardSelectionSignals::~CardSelectionSignals() = default;
std::optional<float> CardSelectionSignals::GetSignal(
const SignalKey& signal_key) const { … }
}