Program Listing for File CombinedSCD.hpp

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

#ifndef NETWORKIT_SCD_COMBINED_SCD_HPP_
#define NETWORKIT_SCD_COMBINED_SCD_HPP_

#include <networkit/scd/SelectiveCommunityDetector.hpp>

namespace NetworKit {
class CombinedSCD : public SelectiveCommunityDetector {
public:
    CombinedSCD(const Graph &g, SelectiveCommunityDetector &first,
                SelectiveCommunityDetector &second);

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

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

protected:
    SelectiveCommunityDetector &first;
    SelectiveCommunityDetector &second;
};
} // namespace NetworKit

#endif // NETWORKIT_SCD_COMBINED_SCD_HPP_