Program Listing for File RandomEdgeScore.hpp

Return to documentation for file (include/networkit/sparsification/RandomEdgeScore.hpp)

/*
 * RandomEdgeScore.hpp
 *
 *  Created on: 11.08.2014
 *      Author: Gerd Lindner
 */

#ifndef NETWORKIT_SPARSIFICATION_RANDOM_EDGE_SCORE_HPP_
#define NETWORKIT_SPARSIFICATION_RANDOM_EDGE_SCORE_HPP_

#include <networkit/edgescores/EdgeScore.hpp>

namespace NetworKit {

class RandomEdgeScore final : public EdgeScore<double> {

public:
    RandomEdgeScore(const Graph &G);

    double score(edgeid eid) override;
    double score(node u, node v) override;
    void run() override;
};

} // namespace NetworKit
/* namespace NetworKit */
#endif // NETWORKIT_SPARSIFICATION_RANDOM_EDGE_SCORE_HPP_