#pragma once

#include <maps/wikimap/mapspro/services/mrc/eye/lib/detection/include/match.h>
#include <maps/wikimap/mapspro/services/mrc/eye/lib/detection/include/cluster.h>

namespace maps::mrc::eye {

class GreedyDetectionClusterizer : public DetectionClusterizer {
public:
    GreedyDetectionClusterizer(float minRelevance = 0.f);

    std::vector<db::TIdSet> clusterize(
        const DetectionStore& store,
        const db::TIdSet& detectionIds,
        const MatchedFrameDetections& matches) const override;

private:
    float minRelevance_;
};

} // namespace maps::mrc::eye
