Defined in File TCE.hpp
public NetworKit::SelectiveCommunityDetector (Class SelectiveCommunityDetector)
Triangle-based community expansion
The algorithm can handle weighted graphs.
Public Functions
Construct a TCE object.
G – [in] The graph to detect communities on
refine – [in] If nodes shall be removed again if this makes the community better
useJaccard – [in] use jaccard index for weight calculation.
Expands a set of seed nodes into a community.
s – [in] The seed nodes
A community of the seed nodes
Detect a community for the given seed node.
The default implementation calls expandOneCommunity(conststd::set<node>&) with a set of one node.
seed – The seed to find the community for.
The found community as set of node.