↰ Return to documentation for file (include/networkit/linkprediction/LinkThresholder.hpp
)
/*
* LinkThresholder.hpp
*
* Created on: 01.04.2015
* Author: Kolja Esders
*/
#ifndef NETWORKIT_LINKPREDICTION_LINK_THRESHOLDER_HPP_
#define NETWORKIT_LINKPREDICTION_LINK_THRESHOLDER_HPP_
#include <networkit/linkprediction/LinkPredictor.hpp>
namespace NetworKit {
namespace LinkThresholder {
std::vector<std::pair<node, node>>
byScore(const std::vector<LinkPredictor::prediction> &predictions, double minScore);
std::vector<std::pair<node, node>>
byCount(const std::vector<LinkPredictor::prediction> &predictions, count numLinks);
std::vector<std::pair<node, node>>
byPercentage(const std::vector<LinkPredictor::prediction> &predictions, double percentageLinks);
} // namespace LinkThresholder
} // namespace NetworKit
#endif // NETWORKIT_LINKPREDICTION_LINK_THRESHOLDER_HPP_