Program Listing for File EstimateBetweenness.hpp

Return to documentation for file (include/networkit/centrality/EstimateBetweenness.hpp)

/*
 *  EstimateBetweenness.hpp
 *
 *  Created on: 13.06.2014
 *      Author: Christian Staudt, Elisabetta Bergamini
 */

#ifndef NETWORKIT_CENTRALITY_ESTIMATE_BETWEENNESS_HPP_
#define NETWORKIT_CENTRALITY_ESTIMATE_BETWEENNESS_HPP_

#include <networkit/centrality/Centrality.hpp>

namespace NetworKit {

class EstimateBetweenness : public Centrality {

public:
    EstimateBetweenness(const Graph &G, count nSamples, bool normalized = false,
                        bool parallel_flag = false);

    void run() override;

private:
    count nSamples;
    bool parallel_flag;
};

} /* namespace NetworKit */

#endif // NETWORKIT_CENTRALITY_ESTIMATE_BETWEENNESS_HPP_