Program Listing for File GCE.hpp

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

/* GCE.hpp
 *
 * Created on: 06.05.2013
 * Author: cls
 */

#ifndef NETWORKIT_SCD_GCE_HPP_
#define NETWORKIT_SCD_GCE_HPP_

#include <unordered_set>

#include <networkit/auxiliary/SetIntersector.hpp>
#include <networkit/scd/SelectiveCommunityDetector.hpp>

namespace NetworKit {

class GCE : public SelectiveCommunityDetector {

public:
    GCE(const Graph &g, std::string objective);

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

    // inherit method from parent class.
    using SelectiveCommunityDetector::expandOneCommunity;

private:
    std::string objective; // name of objective function
};

} /* namespace NetworKit */
#endif // NETWORKIT_SCD_GCE_HPP_