↰ Return to documentation for file (include/networkit/linkprediction/RandomLinkSampler.hpp
)
/*
* RandomLinkSampler.hpp
*
* Created on: 28.02.2015
* Author: Kolja Esders
*/
#ifndef NETWORKIT_LINKPREDICTION_RANDOM_LINK_SAMPLER_HPP_
#define NETWORKIT_LINKPREDICTION_RANDOM_LINK_SAMPLER_HPP_
#include <utility>
#include <networkit/graph/Graph.hpp>
namespace NetworKit {
namespace RandomLinkSampler {
Graph byPercentage(const Graph &G, double percentage);
Graph byCount(const Graph &G, count numLinks);
} // namespace RandomLinkSampler
} // namespace NetworKit
#endif // NETWORKIT_LINKPREDICTION_RANDOM_LINK_SAMPLER_HPP_