Defined in File GroupClosenessLocalSwaps.hpp
public NetworKit::Algorithm
(Class Algorithm)
Public Functions
Finds a group of nodes with high group closeness centrality. This is the LS-restrict algorithm presented in Angriman et al. “Local Search for Group Closeness Maximization on Big
Graphs” IEEE BigData 2019. The algorithm takes as input a graph and an arbitrary group of nodes, and improves the group closeness of the given group by performing vertex exchanges.
G – A connected, undirected, and unweighted graph.
first, last – A range that contains the initial group of nodes.
maxSwaps – Maximum number of vertex exchanges allowed.
Runs the algorithm.