Quantitative function for community detection | Synapse