Program Listing for File LFMLocal.hpp

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

#ifndef NETWORKIT_SCD_LFM_LOCAL_HPP_
#define NETWORKIT_SCD_LFM_LOCAL_HPP_

#include <networkit/scd/SelectiveCommunityDetector.hpp>

namespace NetworKit {

class LFMLocal : public SelectiveCommunityDetector {

public:
    LFMLocal(const Graph &g, double alpha = 1.0);

    using SelectiveCommunityDetector::expandOneCommunity;

    std::set<node> expandOneCommunity(const std::set<node> &s) override;

protected:
    const double alpha;
};

} // namespace NetworKit

#endif // NETWORKIT_SCD_LFM_LOCAL_HPP_