To evaluate the agreement between community structures we use the Rand index [24], which is a traditional criterion for comparison of different results provided by classifiers and clustering algorithms, including partitions with different numbers of classes or clusters.