i am implementing Link Communities community detection algorithm. I have trouble understanding explanation of partition density described in the paper
Here is only the part defining partition density:
I cannot find the connection between definition of link density (equation 2) and definition of partition density (equation 3). Because of that, i dont understand why is partition density defined the way it is. And i especially dont see how is (equation 3) calculating average of (equation 2) - if there is average, i would expect number of partitions (c) to be below horizontal line (in the divisor)
I could not google any other definition of partition density.
Anyone who can shed some light into it would be appreciated.