Program Listing for File SetConductance.hpp

Return to documentation for file (include/networkit/scd/SetConductance.hpp)

#ifndef NETWORKIT_SCD_SET_CONDUCTANCE_HPP_
#define NETWORKIT_SCD_SET_CONDUCTANCE_HPP_

#include <set>

#include <networkit/base/Algorithm.hpp>
#include <networkit/graph/Graph.hpp>

namespace NetworKit {

class SetConductance : public Algorithm {
public:
    SetConductance(const Graph &g, const std::set<node> &community);

    void run() override;

    double getConductance() const;

private:
    const Graph *g;
    const std::set<node> *community;
    double conductance;
};

} // namespace NetworKit

#endif // NETWORKIT_SCD_SET_CONDUCTANCE_HPP_