Defined in File LocalT.hpp
public NetworKit::SelectiveCommunityDetector
(Class SelectiveCommunityDetector)
The local community expansion algorithm optimizing the T measure.
This implements the algorithm published in:
Fagnan, J., Zaiane, O., & Barbosa, D. (2014). Using triads to identify local community structure in social networks. In 2014 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM) (pp. 108–112). https://doi.org/10.1109/ASONAM.2014.6921568
Public Functions
Constructs the Local T algorithm.
G – [in] The graph to detect communities on
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(const std::set<node>&) with a set of one node.
seed – The seed to find the community for.
The found community as set of node.
Detect a single community for the given seed nodes.
This is useful if you know multiple nodes that should be part of the community. This method may throw an exception if the particular algorithm does not support multiple seeds.
seeds – The seeds for the community.
The found community as set of nodes.